@sema-agent/cli 1.0.34 → 1.0.35
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/npm-shrinkwrap.json +17 -17
- package/package.json +5 -5
- package/sema.js +22 -7
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sema-agent/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@sema-agent/cli",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.35",
|
|
10
10
|
"license": "BUSL-1.1",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@sema-agent/sdk": "0.0.58",
|
|
13
|
-
"@sema-agent/server": "1.
|
|
13
|
+
"@sema-agent/server": "1.232.0"
|
|
14
14
|
},
|
|
15
15
|
"bin": {
|
|
16
16
|
"sema": "sema.js"
|
|
@@ -629,9 +629,9 @@
|
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
631
|
"node_modules/@sema-agent/core": {
|
|
632
|
-
"version": "1.
|
|
633
|
-
"resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.
|
|
634
|
-
"integrity": "sha512-
|
|
632
|
+
"version": "1.345.0",
|
|
633
|
+
"resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.345.0.tgz",
|
|
634
|
+
"integrity": "sha512-ANuuzCZcSUncOOy/M3wQnCEYYx24qi9vorRNkNwZ+wCu9mRenfA0etOxCQKK2NuUKPUDkXqZAcxPrULIKqPCfQ==",
|
|
635
635
|
"license": "BUSL-1.1",
|
|
636
636
|
"dependencies": {
|
|
637
637
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
@@ -645,9 +645,9 @@
|
|
|
645
645
|
}
|
|
646
646
|
},
|
|
647
647
|
"node_modules/@sema-agent/registry-core": {
|
|
648
|
-
"version": "0.10.
|
|
649
|
-
"resolved": "https://registry.npmjs.org/@sema-agent/registry-core/-/registry-core-0.10.
|
|
650
|
-
"integrity": "sha512-
|
|
648
|
+
"version": "0.10.21",
|
|
649
|
+
"resolved": "https://registry.npmjs.org/@sema-agent/registry-core/-/registry-core-0.10.21.tgz",
|
|
650
|
+
"integrity": "sha512-wl/2TKu3avsWXzcwq2EEFk7RmLbE2y8//dB2DtGJLyeOhRMgj1yPnjRtkK5U283cvudql5PdfY9IpSeAnwlY7w==",
|
|
651
651
|
"license": "BUSL-1.1",
|
|
652
652
|
"dependencies": {
|
|
653
653
|
"zod": "^3.24.0"
|
|
@@ -678,13 +678,13 @@
|
|
|
678
678
|
}
|
|
679
679
|
},
|
|
680
680
|
"node_modules/@sema-agent/server": {
|
|
681
|
-
"version": "1.
|
|
682
|
-
"resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.
|
|
683
|
-
"integrity": "sha512-
|
|
681
|
+
"version": "1.232.0",
|
|
682
|
+
"resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.232.0.tgz",
|
|
683
|
+
"integrity": "sha512-4wb7IT3B/kTyZKjSj5pBAXEBrBazsn80mnJYtW6dA2+wWG2iLdifBc2c2FSWwsnQzqUKow9nI41cYAAgAPSvvQ==",
|
|
684
684
|
"license": "BUSL-1.1",
|
|
685
685
|
"dependencies": {
|
|
686
|
-
"@sema-agent/core": "^1.
|
|
687
|
-
"@sema-agent/registry-core": "^0.10.
|
|
686
|
+
"@sema-agent/core": "^1.341.0",
|
|
687
|
+
"@sema-agent/registry-core": "^0.10.21",
|
|
688
688
|
"e2b": "^2.28.0",
|
|
689
689
|
"libsodium-wrappers": "^0.8.4",
|
|
690
690
|
"mysql2": "^3.22.4",
|
|
@@ -1248,9 +1248,9 @@
|
|
|
1248
1248
|
"license": "MIT"
|
|
1249
1249
|
},
|
|
1250
1250
|
"node_modules/fast-uri": {
|
|
1251
|
-
"version": "3.1.
|
|
1252
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.
|
|
1253
|
-
"integrity": "sha512-
|
|
1251
|
+
"version": "3.1.4",
|
|
1252
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.4.tgz",
|
|
1253
|
+
"integrity": "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==",
|
|
1254
1254
|
"funding": [
|
|
1255
1255
|
{
|
|
1256
1256
|
"type": "github",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sema-agent/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"description": "Sema — your own Claude Code-grade coding agent, in the terminal.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"bin": {
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@sema-agent/sdk": "0.0.58",
|
|
25
|
-
"@sema-agent/server": "1.
|
|
25
|
+
"@sema-agent/server": "1.232.0"
|
|
26
26
|
},
|
|
27
27
|
"overrides": {
|
|
28
|
-
"@sema-agent/core": "1.
|
|
29
|
-
"@sema-agent/registry-core": "0.10.
|
|
28
|
+
"@sema-agent/core": "1.345.0",
|
|
29
|
+
"@sema-agent/registry-core": "0.10.21"
|
|
30
30
|
},
|
|
31
|
-
"semaEngineVersion": "server 1.
|
|
31
|
+
"semaEngineVersion": "server 1.232.0 / core 1.345.0 / registry-core 0.10.21",
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">=18"
|
|
34
34
|
}
|
package/sema.js
CHANGED
|
@@ -406260,7 +406260,7 @@ function renderWorkflowToolResultMessage(content, _progress, { verbose }) {
|
|
|
406260
406260
|
const parsed = JSON.parse(text2);
|
|
406261
406261
|
if (typeof parsed.runId === "string") {
|
|
406262
406262
|
const status3 = typeof parsed.status === "string" ? parsed.status : "started";
|
|
406263
|
-
const line = status3 === "started" ?
|
|
406263
|
+
const line = status3 === "started" ? "Running in background \xB7 /workflows to monitor and save" : `${status3} (runId ${parsed.runId})`;
|
|
406264
406264
|
return (
|
|
406265
406265
|
// MessageResponse = ⎿ 缩进 chrome(live 套件对拍逮出:裸 Text 顶格,CC 结果行恒有 ⎿)
|
|
406266
406266
|
/* @__PURE__ */ (0, import_jsx_runtime154.jsx)(MessageResponse, { children: /* @__PURE__ */ (0, import_jsx_runtime154.jsxs)(ThemedText, { children: [
|
|
@@ -479795,8 +479795,8 @@ var init_sema_brand = __esm({
|
|
|
479795
479795
|
"Slash-command gating wired to the fleet capability handshake"
|
|
479796
479796
|
]
|
|
479797
479797
|
},
|
|
479798
|
-
productVersion: "1.0.
|
|
479799
|
-
announcement:
|
|
479798
|
+
productVersion: "1.0.35",
|
|
479799
|
+
announcement: "sema 1.0.35 \u2014 the live workflow monitor panel is back (bottom row \u2192 Enter opens phases/agents view), and workflow sub-agents authenticate correctly in multi-model setups."
|
|
479800
479800
|
};
|
|
479801
479801
|
}
|
|
479802
479802
|
});
|
|
@@ -482730,8 +482730,8 @@ var require_sema_brand = __commonJS({
|
|
|
482730
482730
|
"Slash-command gating wired to the fleet capability handshake"
|
|
482731
482731
|
]
|
|
482732
482732
|
},
|
|
482733
|
-
productVersion: "1.0.
|
|
482734
|
-
announcement:
|
|
482733
|
+
productVersion: "1.0.35",
|
|
482734
|
+
announcement: "sema 1.0.35 \u2014 the live workflow monitor panel is back (bottom row \u2192 Enter opens phases/agents view), and workflow sub-agents authenticate correctly in multi-model setups."
|
|
482735
482735
|
};
|
|
482736
482736
|
}
|
|
482737
482737
|
});
|
|
@@ -553630,7 +553630,7 @@ tool here.)`;
|
|
|
553630
553630
|
});
|
|
553631
553631
|
|
|
553632
553632
|
// node_modules/@sema-agent/core/dist/prompts/simple-sections.js
|
|
553633
|
-
var SIMPLE_COMMUNICATING_FABLE, SIMPLE_COMMUNICATING_LEAN, SIMPLE_ACTION_CAUTION, SIMPLE_TASK_CONTINUITY, SIMPLE_INVESTIGATE_FIRST, SIMPLE_CONTEXT_MANAGEMENT, SIMPLE_ACT_DONT_REDERIVE, SIMPLE_PRONOUNS, SIMPLE_TOOL_PARAM_JSON, SIMPLE_AUTONOMY_FABLE;
|
|
553633
|
+
var SIMPLE_COMMUNICATING_FABLE, SIMPLE_COMMUNICATING_LEAN, SIMPLE_ACTION_CAUTION, SIMPLE_TASK_CONTINUITY, SIMPLE_INVESTIGATE_FIRST, SIMPLE_CONTEXT_MANAGEMENT, SIMPLE_ACT_DONT_REDERIVE, SIMPLE_PRONOUNS, SIMPLE_TOOL_PARAM_JSON, SIMPLE_AUTONOMY_FABLE, SEMA_VERIFY_FRESH, SEMA_EVIDENCE_AUDIT;
|
|
553634
553634
|
var init_simple_sections = __esm({
|
|
553635
553635
|
"node_modules/@sema-agent/core/dist/prompts/simple-sections.js"() {
|
|
553636
553636
|
SIMPLE_COMMUNICATING_FABLE = `# Communicating with the user
|
|
@@ -553663,6 +553663,10 @@ Exception: when the user is describing a problem, asking a question, or thinking
|
|
|
553663
553663
|
Before ending your turn, check your last paragraph. If it is a plan, an analysis, a question, a list of next steps, or a promise about work you have not done ('I'll\u2026', 'let me know when\u2026'), do that work now with tool calls. That includes retrying after errors and gathering missing information yourself. Do not stop because the context or session is long. End your turn only when the task is complete or you are blocked on input only the user can provide.
|
|
553664
553664
|
|
|
553665
553665
|
Before running a command that changes system state \u2014 restarts, deletes, config edits \u2014 check that the evidence actually supports that specific action. A signal that pattern-matches to a known failure may have a different cause.`;
|
|
553666
|
+
SEMA_VERIFY_FRESH = `# Delivering work that outlives the session
|
|
553667
|
+
When a deliverable must work outside this session \u2014 an installed tool, a built artifact, a configured service \u2014 verify it the way a grader would: from a hermetic process that inherits none of your session state (e.g. \`env -i bash -c '...'\`), never only inside the shell where you exported variables or edited profile files. A login shell is NOT a clean check \u2014 it sources the same profiles you may have just written; use one only when a login shell is the deliverable's actual entry point, and never as the sole verification. Success that depends on your session state is not success. Prefer standard install locations over session-local paths, and leave the delivered state verified in the form it will actually be used.`;
|
|
553668
|
+
SEMA_EVIDENCE_AUDIT = `# Search hits are evidence
|
|
553669
|
+
In an audit or search task, treat every match as evidence until you have seen WHY it matched: when a hit's cause is not visible (a truncated line, a minified file), open the file at that location instead of dismissing the hit as a false positive. After you recover a concrete NON-SENSITIVE identifier (a hostname, an id, a config key), run one final literal search for that exact value across the whole target \u2014 the copies you did not predict are the ones that matter. For a SENSITIVE value (a credential, a token, a private key), never place it in a command argument or echo it in output: search by reading it from its source (e.g. a pattern file the shell never expands, or an in-process scan) and report locations and counts only.`;
|
|
553666
553670
|
}
|
|
553667
553671
|
});
|
|
553668
553672
|
|
|
@@ -553933,6 +553937,8 @@ var init_sema_default = __esm({
|
|
|
553933
553937
|
{ id: "core/simple.context-management", slot: "harness", rank: 262, ...CORE, admit: (i) => i.facts.promptProfile !== "classic" && i.facts.withinTaskCompactionEnabled, content: () => SIMPLE_CONTEXT_MANAGEMENT, legacyBlockId: "harness.context" },
|
|
553934
553938
|
{ id: "core/simple.act-dont-rederive", slot: "harness", rank: 264, ...CORE, admit: (i) => i.facts.promptProfile !== "classic", content: () => SIMPLE_ACT_DONT_REDERIVE, legacyBlockId: "harness.context" },
|
|
553935
553939
|
{ id: "core/simple.autonomy", slot: "harness", rank: 266, ...CORE, admit: (i) => i.facts.promptProfile !== "classic" && i.facts.fableMitigations === true, content: () => SIMPLE_AUTONOMY_FABLE, legacyBlockId: "harness.context" },
|
|
553940
|
+
{ id: "core/sema.verify-fresh", slot: "harness", rank: 268, ...CORE, admit: (i) => i.facts.promptProfile !== "classic", content: () => SEMA_VERIFY_FRESH, legacyBlockId: "harness.context" },
|
|
553941
|
+
{ id: "core/sema.evidence-audit", slot: "harness", rank: 270, ...CORE, admit: (i) => i.facts.promptProfile !== "classic", content: () => SEMA_EVIDENCE_AUDIT, legacyBlockId: "harness.context" },
|
|
553936
553942
|
{ id: "core/mode.supervisor", slot: "mode", rank: 300, ...MODE, admit: (i) => i.facts.supervisorEnabled, content: () => SUPERVISOR_PROMPT, legacyBlockId: "mode.supervisor" },
|
|
553937
553943
|
{ id: "core/mode.orchestration", slot: "mode", rank: 310, ...MODE, admit: (i) => i.facts.orchestrationEnabled, content: (i) => i.facts.orchestrationDeferred === true ? ORCHESTRATION_GUIDANCE_DEFERRED : ORCHESTRATION_GUIDANCE, legacyBlockId: "mode.orchestration" },
|
|
553938
553944
|
{ id: "core/mode.awareness", slot: "mode", rank: 320, ...MODE, admit: (i) => i.facts.awarenessEnabled, content: () => ORCHESTRATION_AWARENESS, legacyBlockId: "mode.awareness" },
|
|
@@ -556585,6 +556591,13 @@ var init_artifact = __esm({
|
|
|
556585
556591
|
}
|
|
556586
556592
|
});
|
|
556587
556593
|
|
|
556594
|
+
// node_modules/@sema-agent/core/dist/prompt-assembly/turn-snapshot.js
|
|
556595
|
+
var init_turn_snapshot = __esm({
|
|
556596
|
+
"node_modules/@sema-agent/core/dist/prompt-assembly/turn-snapshot.js"() {
|
|
556597
|
+
init_epoch();
|
|
556598
|
+
}
|
|
556599
|
+
});
|
|
556600
|
+
|
|
556588
556601
|
// node_modules/@sema-agent/core/dist/core/tool-result-budget.js
|
|
556589
556602
|
var init_tool_result_budget = __esm({
|
|
556590
556603
|
"node_modules/@sema-agent/core/dist/core/tool-result-budget.js"() {
|
|
@@ -556891,6 +556904,7 @@ var init_prepare_task = __esm({
|
|
|
556891
556904
|
init_tool_catalog();
|
|
556892
556905
|
init_epoch();
|
|
556893
556906
|
init_artifact();
|
|
556907
|
+
init_turn_snapshot();
|
|
556894
556908
|
init_sema_default();
|
|
556895
556909
|
init_context_edit();
|
|
556896
556910
|
init_tool_result_budget();
|
|
@@ -557917,6 +557931,7 @@ var init_dist9 = __esm({
|
|
|
557917
557931
|
init_tool_catalog();
|
|
557918
557932
|
init_epoch();
|
|
557919
557933
|
init_artifact();
|
|
557934
|
+
init_turn_snapshot();
|
|
557920
557935
|
init_artifact_store();
|
|
557921
557936
|
init_llm2();
|
|
557922
557937
|
init_event_registry();
|
|
@@ -654421,7 +654436,7 @@ Auth: unix socket -R \u2192 local proxy`, "info");
|
|
|
654421
654436
|
pendingHookMessages
|
|
654422
654437
|
}, renderAndRun);
|
|
654423
654438
|
}
|
|
654424
|
-
}).version("sema 1.0.
|
|
654439
|
+
}).version("sema 1.0.35", "-v, --version", "Output the version number");
|
|
654425
654440
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
654426
654441
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
654427
654442
|
if (canUserConfigureAdvisor()) {
|