@sema-agent/cli 1.0.25 → 1.0.26
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 +10 -10
- package/package.json +4 -4
- package/sema.js +8 -8
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.26",
|
|
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.26",
|
|
10
10
|
"license": "BUSL-1.1",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@sema-agent/sdk": "0.0.57",
|
|
13
|
-
"@sema-agent/server": "1.
|
|
13
|
+
"@sema-agent/server": "1.228.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.330.0",
|
|
633
|
+
"resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.330.0.tgz",
|
|
634
|
+
"integrity": "sha512-G5TY7YsaLzI96MYssnKLRGIUxvSGqGSVW+mutnQ0R6UdNSFgkiZjr5xZF6yqqvxS2gC0A5LS/7k8gMgmX24YMw==",
|
|
635
635
|
"license": "BUSL-1.1",
|
|
636
636
|
"dependencies": {
|
|
637
637
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
@@ -678,12 +678,12 @@
|
|
|
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.228.0",
|
|
682
|
+
"resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.228.0.tgz",
|
|
683
|
+
"integrity": "sha512-d+uwN/eV1XLCidFJ8cbT0wxSH6iINag8nZXEV6e+0y5cE69YbXbI6uii0ICysfYoVyZ6YXLcQ71n8fVfypdRfA==",
|
|
684
684
|
"license": "BUSL-1.1",
|
|
685
685
|
"dependencies": {
|
|
686
|
-
"@sema-agent/core": "^1.
|
|
686
|
+
"@sema-agent/core": "^1.329.0",
|
|
687
687
|
"@sema-agent/registry-core": "^0.10.16",
|
|
688
688
|
"e2b": "^2.28.0",
|
|
689
689
|
"libsodium-wrappers": "^0.8.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sema-agent/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
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.57",
|
|
25
|
-
"@sema-agent/server": "1.
|
|
25
|
+
"@sema-agent/server": "1.228.0"
|
|
26
26
|
},
|
|
27
27
|
"overrides": {
|
|
28
|
-
"@sema-agent/core": "1.
|
|
28
|
+
"@sema-agent/core": "1.330.0",
|
|
29
29
|
"@sema-agent/registry-core": "0.10.19"
|
|
30
30
|
},
|
|
31
|
-
"semaEngineVersion": "server 1.
|
|
31
|
+
"semaEngineVersion": "server 1.228.0 / core 1.330.0 / registry-core 0.10.19",
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">=18"
|
|
34
34
|
}
|
package/sema.js
CHANGED
|
@@ -223604,7 +223604,7 @@ function getImageTooLargeErrorMessage() {
|
|
|
223604
223604
|
}
|
|
223605
223605
|
function getRequestTooLargeErrorMessage() {
|
|
223606
223606
|
const limits = `max ${formatFileSize(PDF_TARGET_RAW_SIZE)}`;
|
|
223607
|
-
return getIsNonInteractiveSession() ? `Request too large (${limits}).
|
|
223607
|
+
return getIsNonInteractiveSession() ? `Request too large (${limits}). Accumulated images and attachments in the conversation pushed the request over the limit. Remove older images or compact the conversation.` : `Request too large (${limits}). Accumulated images and attachments in the conversation pushed the request over the limit. Run /compact, or double press esc to go back and remove attachments.`;
|
|
223608
223608
|
}
|
|
223609
223609
|
function getTokenRevokedErrorMessage() {
|
|
223610
223610
|
return getIsNonInteractiveSession() ? "Your account does not have access to Claude. Please login again or contact your administrator." : TOKEN_REVOKED_ERROR_MESSAGE;
|
|
@@ -353795,7 +353795,7 @@ function useClaudeAiLimits() {
|
|
|
353795
353795
|
var import_react64;
|
|
353796
353796
|
var init_claudeAiLimitsHook = __esm({
|
|
353797
353797
|
"build-src/src/services/claudeAiLimitsHook.ts"() {
|
|
353798
|
-
import_react64 = __toESM(require_react()
|
|
353798
|
+
import_react64 = __toESM(require_react());
|
|
353799
353799
|
init_claudeAiLimits();
|
|
353800
353800
|
}
|
|
353801
353801
|
});
|
|
@@ -479612,8 +479612,8 @@ var init_sema_brand = __esm({
|
|
|
479612
479612
|
"Slash-command gating wired to the fleet capability handshake"
|
|
479613
479613
|
]
|
|
479614
479614
|
},
|
|
479615
|
-
productVersion: "1.0.
|
|
479616
|
-
announcement: "sema 1.0.
|
|
479615
|
+
productVersion: "1.0.26",
|
|
479616
|
+
announcement: "sema 1.0.26 \u2014 the simple prompt profile now truly swaps in its short-form sections end to end (no more legacy stacking), thinking models stop burning their final write-out window on reasoning, and --debug-file takes its path argument correctly."
|
|
479617
479617
|
};
|
|
479618
479618
|
}
|
|
479619
479619
|
});
|
|
@@ -482547,8 +482547,8 @@ var require_sema_brand = __commonJS({
|
|
|
482547
482547
|
"Slash-command gating wired to the fleet capability handshake"
|
|
482548
482548
|
]
|
|
482549
482549
|
},
|
|
482550
|
-
productVersion: "1.0.
|
|
482551
|
-
announcement: "sema 1.0.
|
|
482550
|
+
productVersion: "1.0.26",
|
|
482551
|
+
announcement: "sema 1.0.26 \u2014 the simple prompt profile now truly swaps in its short-form sections end to end (no more legacy stacking), thinking models stop burning their final write-out window on reasoning, and --debug-file takes its path argument correctly."
|
|
482552
482552
|
};
|
|
482553
482553
|
}
|
|
482554
482554
|
});
|
|
@@ -651944,7 +651944,7 @@ async function run() {
|
|
|
651944
651944
|
});
|
|
651945
651945
|
program2.name("sema").description(`Sema - starts an interactive session by default, use -p/--print for non-interactive output`).argument("[prompt]", "Your prompt", String).helpOption("-h, --help", "Display help for command").option("-d, --debug [filter]", 'Enable debug mode with optional category filtering (e.g., "api,hooks" or "!1p,!file")', (_value) => {
|
|
651946
651946
|
return true;
|
|
651947
|
-
}).addOption(new Option("-d2e, --debug-to-stderr", "Enable debug mode (to stderr)").argParser(Boolean).hideHelp()).option("--debug-file <path>", "Write debug logs to a specific file path (implicitly enables debug mode)"
|
|
651947
|
+
}).addOption(new Option("-d2e, --debug-to-stderr", "Enable debug mode (to stderr)").argParser(Boolean).hideHelp()).option("--debug-file <path>", "Write debug logs to a specific file path (implicitly enables debug mode)").option("--verbose", "Override verbose mode setting from config", () => true).option("-p, --print", "Print response and exit (useful for pipes). Note: The workspace trust dialog is skipped when Claude is run with the -p mode. Only use this flag in directories you trust.", () => true).option("--bare", "Minimal mode: skip hooks, LSP, plugin sync, attribution, auto-memory, background prefetches, keychain reads, and CLAUDE.md auto-discovery. Sets SEMA_CODE_SIMPLE=1. Anthropic auth is strictly ANTHROPIC_API_KEY or apiKeyHelper via --settings (OAuth and keychain are never read). 3P providers (Bedrock/Vertex/Foundry) use their own credentials. Skills still resolve via /skill-name. Explicitly provide context via: --system-prompt[-file], --append-system-prompt[-file], --add-dir (CLAUDE.md dirs), --mcp-config, --settings, --agents, --plugin-dir.", () => true).option("--safe-mode", "Start with all customizations (CLAUDE.md, skills, plugins, hooks, MCP servers, custom commands and agents, output styles, workflows, custom themes, keybindings, and more) disabled \u2014 useful for troubleshooting a broken configuration. Admin-managed (policy) settings still apply. Auth, model selection, built-in tools, and permissions work normally. Sets SEMA_CODE_SAFE_MODE=1.", () => true).addOption(new Option("--init", "Run Setup hooks with init trigger, then continue").hideHelp()).addOption(new Option("--init-only", "Run Setup and SessionStart:startup hooks, then exit").hideHelp()).addOption(new Option("--maintenance", "Run Setup hooks with maintenance trigger, then continue").hideHelp()).addOption(new Option("--output-format <format>", 'Output format (only works with --print): "text" (default), "json" (single result), or "stream-json" (realtime streaming)').choices(["text", "json", "stream-json"])).addOption(new Option("--json-schema <schema>", 'JSON Schema for structured output validation. Example: {"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}').argParser(String)).option("--include-hook-events", "Include all hook lifecycle events in the output stream (only works with --output-format=stream-json)", () => true).option("--include-partial-messages", "Include partial message chunks as they arrive (only works with --print and --output-format=stream-json)", () => true).addOption(new Option("--input-format <format>", 'Input format (only works with --print): "text" (default), or "stream-json" (realtime streaming input)').choices(["text", "stream-json"])).option("--mcp-debug", "[DEPRECATED. Use --debug instead] Enable MCP debug mode (shows MCP server errors)", () => true).option("--dangerously-skip-permissions", "Bypass all permission checks. Recommended only for sandboxes with no internet access.", () => true).option("--allow-dangerously-skip-permissions", "Enable bypassing all permission checks as an option, without it being enabled by default. Recommended only for sandboxes with no internet access.", () => true).addOption(new Option("--thinking <mode>", "Thinking mode: enabled (equivalent to adaptive), disabled").choices(["enabled", "adaptive", "disabled"]).hideHelp()).addOption(new Option("--thinking-display <display>", "How thinking content appears in the response").choices(["summarized", "omitted"]).hideHelp()).addOption(new Option("--max-thinking-tokens <tokens>", "[DEPRECATED. Use --thinking instead for newer models] Maximum number of thinking tokens (only works with --print)").argParser(Number).hideHelp()).addOption(new Option("--max-turns <turns>", "Maximum number of agentic turns in non-interactive mode. This will early exit the conversation after the specified number of turns. (only works with --print)").argParser(Number).hideHelp()).addOption(new Option("--max-budget-usd <amount>", "Maximum dollar amount to spend on API calls (only works with --print)").argParser((value) => {
|
|
651948
651948
|
const amount = Number(value);
|
|
651949
651949
|
if (isNaN(amount) || amount <= 0) {
|
|
651950
651950
|
throw new Error("--max-budget-usd must be a positive number greater than 0");
|
|
@@ -654084,7 +654084,7 @@ Auth: unix socket -R \u2192 local proxy`, "info");
|
|
|
654084
654084
|
pendingHookMessages
|
|
654085
654085
|
}, renderAndRun);
|
|
654086
654086
|
}
|
|
654087
|
-
}).version("sema 1.0.
|
|
654087
|
+
}).version("sema 1.0.26", "-v, --version", "Output the version number");
|
|
654088
654088
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
654089
654089
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
654090
654090
|
if (canUserConfigureAdvisor()) {
|