shennian 0.4.0 → 0.4.2
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/dist/native/macos-background-client/Shennian.app/Contents/CodeResources +0 -0
- package/dist/native/macos-background-client/Shennian.app/Contents/Info.plist +17 -0
- package/dist/native/macos-background-client/Shennian.app/Contents/MacOS/ShennianClientLauncher +0 -0
- package/dist/native/macos-background-client/Shennian.app/Contents/Resources/en.lproj/InfoPlist.strings +2 -0
- package/dist/native/macos-background-client/Shennian.app/Contents/Resources/zh-Hans.lproj/InfoPlist.strings +2 -0
- package/dist/native/macos-background-client/Shennian.app/Contents/_CodeSignature/CodeResources +153 -0
- package/dist/publish-build-manifest.json +78 -43
- package/dist/src/agent-env.d.ts +1 -0
- package/dist/src/agent-env.js +4 -4
- package/dist/src/agents/codex.d.ts +3 -2
- package/dist/src/agents/codex.js +8 -8
- package/dist/src/agents/command-spec.js +1 -1
- package/dist/src/agents/config-status.js +1 -1
- package/dist/src/agents/detect.d.ts +1 -0
- package/dist/src/agents/detect.js +1 -1
- package/dist/src/agents/manager.d.ts +3 -3
- package/dist/src/agents/manager.js +9 -9
- package/dist/src/agents/model-registry/cache.d.ts +1 -1
- package/dist/src/agents/model-registry/cache.js +1 -1
- package/dist/src/agents/model-registry/discovery.js +3 -2
- package/dist/src/agents/model-registry/parsers.js +4 -4
- package/dist/src/agents/model-registry/service.js +1 -1
- package/dist/src/agents/model-registry/types.d.ts +1 -0
- package/dist/src/agents/pi-coding-agent-managed-permissions.d.ts +7 -0
- package/dist/src/agents/pi-coding-agent-managed-permissions.js +1 -0
- package/dist/src/agents/pi-coding-agent.d.ts +55 -0
- package/dist/src/agents/pi-coding-agent.js +4 -0
- package/dist/src/agents/pi-managed-extension.d.ts +12 -0
- package/dist/src/agents/pi-managed-extension.js +89 -0
- package/dist/src/agents/pi-managed-model-broker.d.ts +27 -0
- package/dist/src/agents/pi-managed-model-broker.js +1 -0
- package/dist/src/agents/pi-rpc-client.d.ts +31 -0
- package/dist/src/agents/pi-rpc-client.js +3 -0
- package/dist/src/agents/pi-session-ownership.d.ts +2 -0
- package/dist/src/agents/pi-session-ownership.js +2 -0
- package/dist/src/commands/daemon.d.ts +4 -0
- package/dist/src/commands/daemon.js +21 -17
- package/dist/src/commands/pair-browser.js +1 -1
- package/dist/src/manager/prompt.d.ts +1 -1
- package/dist/src/manager/prompt.js +2 -2
- package/dist/src/manager/registry.d.ts +4 -4
- package/dist/src/manager/runtime.d.ts +3 -3
- package/dist/src/room/activation-service.js +4 -4
- package/dist/src/room/device-authorization-client.d.ts +2 -0
- package/dist/src/room/managed-prompt-composer.d.ts +1 -1
- package/dist/src/room/managed-prompt-composer.js +2 -1
- package/dist/src/security/managed-agent-policy.js +1 -1
- package/dist/src/session/handlers/agent-workspace-validation.d.ts +24 -0
- package/dist/src/session/handlers/agent-workspace-validation.js +1 -0
- package/dist/src/session/handlers/chat.js +1 -1
- package/dist/src/session/manager.d.ts +1 -0
- package/dist/src/session/manager.js +1 -1
- package/dist/src/session/native-session-lifecycle.js +6 -6
- package/dist/src/session/queue.d.ts +5 -1
- package/dist/src/session/queue.js +2 -2
- package/dist/src/upgrade/engine.d.ts +1 -0
- package/dist/src/upgrade/engine.js +2 -2
- package/node_modules/@shennian/wire/dist/methods.d.ts +1 -1
- package/node_modules/@shennian/wire/dist/session.d.ts +2 -2
- package/node_modules/@shennian/wire/dist/session.js +1 -0
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { NativeSessionSourceMode } from './native-session.js';
|
|
2
2
|
import type { PersonalAttachmentReference, PersonalSyncIdentity, SessionBodyStorageMode, SessionTitleSource } from './session-sync.js';
|
|
3
|
-
export type BuiltinAgentType = 'claude' | 'codex' | 'workbuddy' | 'gemini' | 'cursor' | 'openclaw' | 'opencode' | 'pi' | 'manager';
|
|
3
|
+
export type BuiltinAgentType = 'claude' | 'codex' | 'workbuddy' | 'gemini' | 'cursor' | 'openclaw' | 'opencode' | 'pi' | 'pi-coding-agent' | 'manager';
|
|
4
4
|
export type CustomAgentType = `custom:${string}`;
|
|
5
5
|
export type AgentType = BuiltinAgentType | CustomAgentType;
|
|
6
6
|
/** The external Codex owner stopped its last turn, so its native queue is paused. */
|
|
7
7
|
export declare const CODEX_DESKTOP_SEND_UNAVAILABLE = "codex_desktop_send_unavailable";
|
|
8
8
|
export declare const DISABLED_BUILTIN_AGENT_TYPES: readonly ["gemini", "openclaw"];
|
|
9
|
-
export declare const AVAILABLE_BUILTIN_AGENT_TYPES: readonly ["claude", "codex", "workbuddy", "cursor", "opencode", "pi"];
|
|
9
|
+
export declare const AVAILABLE_BUILTIN_AGENT_TYPES: readonly ["claude", "codex", "workbuddy", "cursor", "opencode", "pi", "pi-coding-agent"];
|
|
10
10
|
export type ModelInfo = {
|
|
11
11
|
id: string;
|
|
12
12
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shennian",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Shennian — AI Agent Control Plane CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"typescript": "^5.9.3"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
|
-
"build": "tsc && node -e \"require('node:fs').chmodSync('dist/bin/shennian.js', 0o755)\"",
|
|
59
|
-
"build:publish": "pnpm --filter @shennian/wire build:publish && node -e \"const fs=require('node:fs'); fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('.tsbuildinfo.publish', { force: true })\" && tsc -p tsconfig.publish.json && node scripts/minify-publish-js.mjs && node -e \"require('node:fs').chmodSync('dist/bin/shennian.js', 0o755)\" && node scripts/check-publish-artifact.mjs",
|
|
58
|
+
"build": "tsc && node scripts/copy-macos-background-client.mjs && node -e \"require('node:fs').chmodSync('dist/bin/shennian.js', 0o755)\"",
|
|
59
|
+
"build:publish": "pnpm --filter @shennian/wire build:publish && node -e \"const fs=require('node:fs'); fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('.tsbuildinfo.publish', { force: true })\" && tsc -p tsconfig.publish.json && node scripts/copy-macos-background-client.mjs && node scripts/minify-publish-js.mjs && node -e \"require('node:fs').chmodSync('dist/bin/shennian.js', 0o755)\" && node scripts/check-publish-artifact.mjs",
|
|
60
60
|
"test:security:codex": "tsx scripts/verify-managed-codex-sandbox.ts",
|
|
61
61
|
"test:security:codex-tools": "tsx scripts/verify-managed-codex-dynamic-tools.ts",
|
|
62
62
|
"dev": "tsc --watch"
|