본문으로 건너뛰기
cccskills
무료GitHub에 공개

gjc-sdk-session

Operate GJC SDK sessions from the CLI (`gjc sdk session list|inspect|send|status|tail|close|raw` plus the explicit raw control|query|global hatch). Advisory reference: broker-bound, credential-free output; mutating verbs run only when explicitly invoked.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

GJC SDK session CLI (advisory)

Advisory reference for interacting with live GJC SDK sessions through the broker-bound gjc sdk session command family. This skill is informational: it never prints endpoint credentials or changes configuration, and it never references removed command routes. Mutating commands are only documented and run when the operator explicitly invokes them.

Broker authority

list, inspect, send, status, tail, and close resolve sessions through the SDK broker. The broker validates the indexed session against its durable endpoint record and hands the CLI a connection credential the CLI uses and never prints. --agent-dir selects the broker state directory.

Semantic verbs

  • gjc sdk session list — broker session.list projected to the versioned, credential-free row DTO (session id, locator, pid, liveness, tombstone, activity, heartbeat, identity provenance, ambiguity).

  • gjc sdk session inspect <sessionId> — one indexed row from the broker. It never reads endpoint discovery records directly: a missing or unavailable broker fails closed rather than exposing endpoint authority outside SDK core.

  • gjc sdk session send <sessionId> --text <prompt> — ordered turn.prompt carrying a caller-chosen operation reference (ULID). --wait polls turn.result with kind: "prompt" until terminal or the wait window elapses; it never cancels a running turn.

  • gjc sdk session status <sessionId> <opRef> — lossless turn.result with kind: "prompt" for a previously submitted operation reference.

  • gjc sdk session close <sessionId> — closes the current live host generation through the broker without attaching. The default idempotency key includes the endpoint generation and incarnation, so retries for one host replay while a resumed host with the same session id gets a new lifecycle identity.

  • gjc sdk session tail <sessionId> — retained transcript replay from the durable checkpoint followed by live event-ring frames. --strict fails closed on retention gaps, --until-idle exits at a terminal turn state, --all-events widens the emitted event kinds, and --cursor resumes from a saved checkpoint token that is re-minted per connection.

Raw hatch

gjc sdk session raw control|query|global dispatches one SDK operation with --op (control/global) or --query (query) plus a JSON input source. Lifecycle globals require --idempotency-key; destructive control operations accept --confirm. Endpoint-disclosure operations are refused by default and stay refused by this skill.

Lossless prompt results

turn.result with kind: "prompt" reports accepted, in_flight, terminal_ok, or failed; only retained-record eviction yields unknown, which means uncertainty, never proof of non-execution. turn.prompt_status remains a legacy prompt-only alias. Never reuse an operation reference as a retry mechanism.

Checkpoint gaps

tail reports a retention_gap with the missing sequence range and a resync checkpoint when retained history or the event ring dropped entries; --strict turns any gap into exit code 1.

Scoped search

gjc sdk search [--scope repo|pwd|global] [--json] lists broker-visible sessions inside one exact scope (default repo: the identical canonical Git worktree, never a path prefix). Every result carries a scope/status envelope (requested and resolved scope, populated, empty, not-in-git-worktree, or unavailable); empty and non-Git results exit 0 and never fall back to a wider scope. Rows are probed after scoping (reachable, unreachable, stale) without printing endpoint credentials.

Local-only spawn

gjc sdk spawn --cwd <dir> --prompt <task> [--model <selector>] [--profile <name>] creates one task-seeded background child through the broker and is legal only inside a live interactive gjc --master session. Each invocation uses a fresh idempotency identity: one identity yields at most one child and one seed prompt, replays return stored outcomes, and a semantically new task requires a new invocation. spawn_in_progress and terminal_uncertain are honest states, never retry triggers. The task and master capability never persist in broker state, logs, or output; spawn is prohibited on MCP, ACP, daemon CLI/raw, Telegram, Discord, and Slack surfaces. Clean up children through the standard session.close path; orphaned children are reaped after sdk.masterOrphanGraceMs.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Goal-directed research missions that interleave web research with data experimentation and end on a structured best-effort verdict

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Yeachan-Heo/gajae-code3천2026년 10월 18일 업데이트

Socratic deep interview with mathematical ambiguity gating before explicit execution approval

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Yeachan-Heo/gajae-code3천2026년 10월 18일 업데이트

Delegate planning and execution workflows to gajae-code via the coordinator MCP server.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Yeachan-Heo/gajae-code3천2026년 10월 18일 업데이트

Author trusted-local TypeScript and Python scripts that operate GJC sessions through the broker-bound CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Yeachan-Heo/gajae-code3천2026년 10월 18일 업데이트

Discover and inspect trusted local GJC sessions through the broker-bound session CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Yeachan-Heo/gajae-code3천2026년 10월 18일 업데이트

Index of trusted GJC SDK reference guides (broker, session CLI, embedding, app development). Advisory only: read these documents for background; there is no guide to execute and no workflow skill to run.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Yeachan-Heo/gajae-code3천2026년 10월 18일 업데이트

Yeachan-Heo의 스킬 모두 보기

이 스킬의 문제 신고