@gajae-code/coding-agent 0.7.10 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +1 -1
- package/dist/types/config/keybindings.d.ts +11 -5
- package/dist/types/defaults/gjc-defaults.d.ts +7 -0
- package/dist/types/gjc-runtime/launch-tmux.d.ts +3 -0
- package/dist/types/gjc-runtime/ralplan-runtime.d.ts +3 -2
- package/dist/types/gjc-runtime/restricted-role-agent-bash.d.ts +1 -0
- package/dist/types/gjc-runtime/state-writer.d.ts +1 -0
- package/dist/types/modes/components/custom-editor.d.ts +2 -1
- package/dist/types/modes/components/skill-message.d.ts +1 -0
- package/dist/types/modes/controllers/command-controller.d.ts +1 -0
- package/dist/types/modes/controllers/input-controller.d.ts +4 -0
- package/dist/types/modes/interactive-mode.d.ts +1 -0
- package/dist/types/modes/prompt-action-autocomplete.d.ts +2 -0
- package/dist/types/modes/slash-command-visibility.d.ts +1 -0
- package/dist/types/modes/types.d.ts +1 -0
- package/dist/types/sdk.d.ts +1 -1
- package/dist/types/session/agent-session.d.ts +8 -5
- package/dist/types/slash-commands/types.d.ts +2 -0
- package/dist/types/utils/cmux-workspace.d.ts +30 -1
- package/dist/types/web/search/index.d.ts +3 -1
- package/dist/types/web/search/provider.d.ts +9 -0
- package/dist/types/web/search/providers/utils.d.ts +42 -13
- package/package.json +7 -7
- package/src/cli/update-cli.ts +24 -0
- package/src/cli/web-search-cli.ts +2 -5
- package/src/cli.ts +1 -1
- package/src/commands/launch.ts +1 -1
- package/src/commands/ralplan.ts +1 -0
- package/src/config/keybindings.ts +14 -5
- package/src/config/model-profiles.ts +16 -0
- package/src/coordinator-mcp/server.ts +9 -3
- package/src/defaults/gjc/skills/ralplan/SKILL.md +16 -14
- package/src/defaults/gjc-defaults.ts +16 -0
- package/src/extensibility/extensions/runner.ts +2 -1
- package/src/gjc-runtime/launch-tmux.ts +164 -42
- package/src/gjc-runtime/ralplan-runtime.ts +22 -6
- package/src/gjc-runtime/restricted-role-agent-bash.ts +1 -0
- package/src/gjc-runtime/state-runtime.ts +8 -5
- package/src/gjc-runtime/state-writer.ts +5 -5
- package/src/internal-urls/docs-index.generated.ts +5 -4
- package/src/main.ts +2 -2
- package/src/migrate/executor.ts +23 -6
- package/src/modes/components/custom-editor.ts +8 -0
- package/src/modes/components/model-selector.ts +6 -2
- package/src/modes/components/settings-selector.ts +0 -2
- package/src/modes/components/skill-message.ts +18 -10
- package/src/modes/controllers/command-controller.ts +23 -0
- package/src/modes/controllers/input-controller.ts +41 -9
- package/src/modes/interactive-mode.ts +16 -7
- package/src/modes/prompt-action-autocomplete.ts +23 -1
- package/src/modes/slash-command-visibility.ts +9 -0
- package/src/modes/types.ts +1 -0
- package/src/modes/utils/hotkeys-markdown.ts +5 -2
- package/src/modes/utils/ui-helpers.ts +76 -3
- package/src/notifications/telegram-daemon.ts +4 -4
- package/src/prompts/agents/architect.md +7 -4
- package/src/prompts/agents/critic.md +15 -6
- package/src/prompts/agents/planner.md +8 -3
- package/src/prompts/tools/bash.md +1 -1
- package/src/sdk.ts +3 -6
- package/src/session/agent-session.ts +60 -17
- package/src/slash-commands/builtin-registry.ts +30 -10
- package/src/slash-commands/types.ts +2 -0
- package/src/tools/bash.ts +24 -8
- package/src/utils/cmux-workspace.ts +134 -7
- package/src/utils/title-generator.ts +1 -1
- package/src/web/kagi.ts +1 -1
- package/src/web/parallel.ts +2 -2
- package/src/web/search/index.ts +118 -45
- package/src/web/search/provider.ts +65 -0
- package/src/web/search/providers/anthropic.ts +1 -1
- package/src/web/search/providers/brave.ts +1 -1
- package/src/web/search/providers/codex.ts +1 -1
- package/src/web/search/providers/duckduckgo.ts +1 -1
- package/src/web/search/providers/exa.ts +1 -1
- package/src/web/search/providers/gemini.ts +7 -3
- package/src/web/search/providers/jina.ts +1 -1
- package/src/web/search/providers/kimi.ts +6 -1
- package/src/web/search/providers/openai-compatible.ts +1 -1
- package/src/web/search/providers/parallel.ts +1 -1
- package/src/web/search/providers/perplexity.ts +2 -2
- package/src/web/search/providers/searxng.ts +1 -1
- package/src/web/search/providers/synthetic.ts +1 -1
- package/src/web/search/providers/tavily.ts +1 -1
- package/src/web/search/providers/utils.ts +67 -17
- package/src/web/search/providers/xai.ts +1 -1
- package/src/web/search/providers/zai.ts +1 -1
|
@@ -99,7 +99,7 @@ export interface GuardedStateWriterOptions extends StateWriterOptions {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
export type GuardedWriteResult =
|
|
102
|
-
| { path: string; written: true; revision: number }
|
|
102
|
+
| { path: string; written: true; revision: number; stamped: unknown }
|
|
103
103
|
| { path: string; written: false; reason: "stale-skip"; revision: number };
|
|
104
104
|
|
|
105
105
|
export interface StateWriterOptions {
|
|
@@ -511,7 +511,7 @@ async function writeGuardedResolvedJsonAtomic(
|
|
|
511
511
|
const next = stampStateRevision(withWorkflowReceipt(value, buildReceipt(options)), currentRevision + 1);
|
|
512
512
|
await atomicWrite(filePath, jsonText(next));
|
|
513
513
|
await maybeAudit(filePath, options);
|
|
514
|
-
return { path: filePath, written: true, revision: currentRevision + 1 };
|
|
514
|
+
return { path: filePath, written: true, revision: currentRevision + 1, stamped: next };
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
const incomingSourceRevision =
|
|
@@ -526,7 +526,7 @@ async function writeGuardedResolvedJsonAtomic(
|
|
|
526
526
|
);
|
|
527
527
|
await atomicWrite(filePath, jsonText(next));
|
|
528
528
|
await maybeAudit(filePath, options);
|
|
529
|
-
return { path: filePath, written: true, revision: currentRevision + 1 };
|
|
529
|
+
return { path: filePath, written: true, revision: currentRevision + 1, stamped: next };
|
|
530
530
|
},
|
|
531
531
|
options.lock,
|
|
532
532
|
);
|
|
@@ -574,7 +574,7 @@ export async function writeGuardedWorkflowEnvelopeAtomic(
|
|
|
574
574
|
}
|
|
575
575
|
await atomicWrite(filePath, jsonText(next));
|
|
576
576
|
await maybeAudit(filePath, options);
|
|
577
|
-
return { path: filePath, written: true, revision: currentRevision + 1 };
|
|
577
|
+
return { path: filePath, written: true, revision: currentRevision + 1, stamped: next };
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
const incomingSourceRevision =
|
|
@@ -599,7 +599,7 @@ export async function writeGuardedWorkflowEnvelopeAtomic(
|
|
|
599
599
|
}
|
|
600
600
|
await atomicWrite(filePath, jsonText(next));
|
|
601
601
|
await maybeAudit(filePath, options);
|
|
602
|
-
return { path: filePath, written: true, revision: currentRevision + 1 };
|
|
602
|
+
return { path: filePath, written: true, revision: currentRevision + 1, stamped: next };
|
|
603
603
|
},
|
|
604
604
|
options.lock,
|
|
605
605
|
);
|