@picassohq/cli 0.0.0-stage → 1.0.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/agents/browser_agent.yaml +53 -0
- package/agents/code_reviewer.yaml +49 -0
- package/agents/codebase_investigator.yaml +70 -0
- package/agents/design_auditor.yaml +50 -0
- package/agents/devex_auditor.yaml +50 -0
- package/agents/doc_writer.yaml +54 -0
- package/agents/engineering_architect.yaml +51 -0
- package/agents/generalist.yaml +55 -0
- package/agents/migration_planner.yaml +51 -0
- package/agents/product_reviewer.yaml +48 -0
- package/agents/qa_operator.yaml +52 -0
- package/agents/release_engineer.yaml +50 -0
- package/agents/security_auditor.yaml +62 -0
- package/agents/test_writer.yaml +52 -0
- package/assets/first-light-lockup.png +0 -0
- package/assets/first-light-tagline.png +0 -0
- package/assets/house/README.md +26 -0
- package/assets/house/auraone-banner.png +0 -0
- package/assets/house/auraone-logo.png +0 -0
- package/assets/house/kiro-prism-banner.png +0 -0
- package/assets/house/kiro-prism-logo.png +0 -0
- package/assets/house/picasso-banner.png +0 -0
- package/assets/house/picasso-logo.png +0 -0
- package/assets/wordmark-app.png +0 -0
- package/assets/wordmark-tight.png +0 -0
- package/assets/wordmark.png +0 -0
- package/design/styles.css +1042 -0
- package/dist/build-info.json +37 -0
- package/dist/index.js +3062 -0
- package/goals/cli-hardening.yaml +40 -0
- package/goals/repo-maintenance.yaml +40 -0
- package/package.json +49 -4
- package/runtime/dsh/picasso-ecosystem.community.amendments.yml +24 -0
- package/runtime/dsh/picasso-ecosystem.community.json +185 -0
- package/runtime/dsh/picasso-ecosystem.community.patch.yml +40 -0
- package/runtime/dsh/picasso-ecosystem.cordis.patch.yml +143 -0
- package/runtime/dsh/picasso-isolation.patch.yml +25 -0
- package/runtime/dsh/picasso-providers.patch.yml +373 -0
- package/runtime/dsh/picasso-runtime.cordis.yml +738 -0
- package/runtime/dsh/picasso-sdk.patch.yml +204 -0
- package/runtime/engine-manifest.json +215 -0
- package/runtime/package.json +6 -0
- package/runtime/packages/picasso-cache-probe/cordis.patch.yml +5 -0
- package/runtime/packages/picasso-cache-probe/index.js +477 -0
- package/runtime/packages/picasso-cache-probe/package.json +38 -0
- package/runtime/packages/picasso-commands/cordis.patch.yml +4 -0
- package/runtime/packages/picasso-commands/fresh-review.js +573 -0
- package/runtime/packages/picasso-commands/index.js +497 -0
- package/runtime/packages/picasso-commands/package.json +28 -0
- package/runtime/packages/picasso-instructions/conflicts.js +115 -0
- package/runtime/packages/picasso-instructions/formats.js +145 -0
- package/runtime/packages/picasso-instructions/frontmatter.js +175 -0
- package/runtime/packages/picasso-instructions/glob.js +114 -0
- package/runtime/packages/picasso-instructions/globals.js +90 -0
- package/runtime/packages/picasso-instructions/imports.js +123 -0
- package/runtime/packages/picasso-instructions/index.js +326 -0
- package/runtime/packages/picasso-instructions/modes.js +64 -0
- package/runtime/packages/picasso-instructions/package.json +30 -0
- package/runtime/packages/picasso-instructions/parse.js +134 -0
- package/runtime/packages/picasso-instructions/report.js +161 -0
- package/runtime/packages/picasso-instructions/resolve.js +939 -0
- package/runtime/packages/picasso-instructions/scan.js +181 -0
- package/runtime/packages/picasso-instructions/settings.js +150 -0
- package/runtime/packages/picasso-instructions/skills.js +345 -0
- package/runtime/packages/picasso-lean-context/cordis.patch.yml +13 -0
- package/runtime/packages/picasso-lean-context/index.js +6280 -0
- package/runtime/packages/picasso-lean-context/package.json +26 -0
- package/runtime/packages/picasso-lean-context/read-image-recovery.js +306 -0
- package/runtime/packages/picasso-lean-context/timeline.js +418 -0
- package/runtime/packages/picasso-librarian/classify.js +146 -0
- package/runtime/packages/picasso-librarian/cordis.patch.yml +10 -0
- package/runtime/packages/picasso-librarian/index.js +878 -0
- package/runtime/packages/picasso-librarian/notes.js +159 -0
- package/runtime/packages/picasso-librarian/package.json +34 -0
- package/runtime/packages/picasso-librarian/state.js +478 -0
- package/runtime/packages/picasso-memory/index.js +1184 -0
- package/runtime/packages/picasso-memory/package.json +21 -0
- package/runtime/packages/picasso-model-router/connections.js +912 -0
- package/runtime/packages/picasso-model-router/cordis.patch.yml +17 -0
- package/runtime/packages/picasso-model-router/index.js +1083 -0
- package/runtime/packages/picasso-model-router/package.json +30 -0
- package/runtime/packages/picasso-options/cordis.patch.yml +4 -0
- package/runtime/packages/picasso-options/index.js +263 -0
- package/runtime/packages/picasso-options/package.json +28 -0
- package/runtime/packages/picasso-progress-reports/cordis.patch.yml +10 -0
- package/runtime/packages/picasso-progress-reports/index.js +267 -0
- package/runtime/packages/picasso-progress-reports/package.json +30 -0
- package/runtime/packages/picasso-progress-reports/report.js +235 -0
- package/runtime/packages/picasso-sdk-server/aside.js +142 -0
- package/runtime/packages/picasso-sdk-server/connections.js +38 -0
- package/runtime/packages/picasso-sdk-server/context-timeline.js +27 -0
- package/runtime/packages/picasso-sdk-server/egress-gate.js +520 -0
- package/runtime/packages/picasso-sdk-server/failure-policy.js +246 -0
- package/runtime/packages/picasso-sdk-server/file-input.js +169 -0
- package/runtime/packages/picasso-sdk-server/goal.js +131 -0
- package/runtime/packages/picasso-sdk-server/ignore-file.js +458 -0
- package/runtime/packages/picasso-sdk-server/ignore-plugin.js +12 -0
- package/runtime/packages/picasso-sdk-server/ignore-sandbox.js +122 -0
- package/runtime/packages/picasso-sdk-server/ignore-snapshot.js +131 -0
- package/runtime/packages/picasso-sdk-server/image-input.js +44 -0
- package/runtime/packages/picasso-sdk-server/index.js +891 -0
- package/runtime/packages/picasso-sdk-server/instructions.js +34 -0
- package/runtime/packages/picasso-sdk-server/jobs.js +113 -0
- package/runtime/packages/picasso-sdk-server/mcp-gate.js +51 -0
- package/runtime/packages/picasso-sdk-server/model-selection.js +162 -0
- package/runtime/packages/picasso-sdk-server/package.json +50 -0
- package/runtime/packages/picasso-sdk-server/picasso-records.js +50 -0
- package/runtime/packages/picasso-sdk-server/provider-reload.js +84 -0
- package/runtime/packages/picasso-sdk-server/queue.js +322 -0
- package/runtime/packages/picasso-sdk-server/requester.js +43 -0
- package/runtime/packages/picasso-sdk-server/rewind.js +108 -0
- package/runtime/packages/picasso-sdk-server/schedule.js +187 -0
- package/runtime/packages/picasso-sdk-server/session-grants.js +35 -0
- package/runtime/packages/picasso-sdk-server/session-state.js +118 -0
- package/runtime/packages/picasso-sdk-server/shell-paths.js +869 -0
- package/runtime/packages/picasso-sdk-server/stream-deltas.js +211 -0
- package/runtime/packages/picasso-sdk-server/team-tasks.js +451 -0
- package/runtime/packages/picasso-sdk-server/tool-output.js +128 -0
- package/runtime/packages/picasso-sdk-server/tools-list.js +51 -0
- package/runtime/packages/picasso-sdk-server/wave2-hooks.js +612 -0
- package/runtime/packages/picasso-sdk-server/workspace-archive.js +170 -0
- package/runtime/packages/picasso-sdk-server/workspace-restore.js +180 -0
- package/runtime/packages/picasso-web-search/backends.js +412 -0
- package/runtime/packages/picasso-web-search/config.js +121 -0
- package/runtime/packages/picasso-web-search/cordis.patch.yml +7 -0
- package/runtime/packages/picasso-web-search/failure.js +116 -0
- package/runtime/packages/picasso-web-search/format.js +42 -0
- package/runtime/packages/picasso-web-search/index.js +71 -0
- package/runtime/packages/picasso-web-search/package.json +38 -0
- package/runtime/packages/picasso-web-search/router.js +156 -0
- package/runtime/packages/picasso-x-reader/circle.js +324 -0
- package/runtime/packages/picasso-x-reader/command.js +169 -0
- package/runtime/packages/picasso-x-reader/cordis.patch.yml +8 -0
- package/runtime/packages/picasso-x-reader/index.js +170 -0
- package/runtime/packages/picasso-x-reader/package.json +39 -0
- package/runtime/packages/picasso-x-reader/read.js +370 -0
- package/runtime/packages/picasso-x-reader/rewrite.js +38 -0
- package/runtime/packages/picasso-x-reader/settings.js +131 -0
- package/runtime/packages/picasso-x-reader/urls.js +154 -0
- package/runtime/packages/picasso-x-reader/xmd.js +512 -0
- package/runtime/plugins/picasso-auth-bridge/index.js +380 -0
- package/runtime/plugins/picasso-auth-bridge/package.json +28 -0
- package/runtime/plugins/picasso-auto-approve/index.js +1003 -0
- package/runtime/plugins/picasso-auto-approve/package.json +28 -0
- package/runtime/plugins/picasso-browser/index.js +424 -0
- package/runtime/plugins/picasso-browser/package.json +28 -0
- package/runtime/plugins/picasso-checkpoints/evidence.js +210 -0
- package/runtime/plugins/picasso-checkpoints/index.js +885 -0
- package/runtime/plugins/picasso-checkpoints/package.json +29 -0
- package/runtime/plugins/picasso-commands/fresh-review.js +573 -0
- package/runtime/plugins/picasso-commands/index.js +497 -0
- package/runtime/plugins/picasso-commands/package.json +28 -0
- package/runtime/plugins/picasso-instructions/conflicts.js +115 -0
- package/runtime/plugins/picasso-instructions/formats.js +145 -0
- package/runtime/plugins/picasso-instructions/frontmatter.js +175 -0
- package/runtime/plugins/picasso-instructions/glob.js +114 -0
- package/runtime/plugins/picasso-instructions/globals.js +90 -0
- package/runtime/plugins/picasso-instructions/imports.js +123 -0
- package/runtime/plugins/picasso-instructions/index.js +326 -0
- package/runtime/plugins/picasso-instructions/modes.js +64 -0
- package/runtime/plugins/picasso-instructions/package.json +30 -0
- package/runtime/plugins/picasso-instructions/parse.js +134 -0
- package/runtime/plugins/picasso-instructions/report.js +161 -0
- package/runtime/plugins/picasso-instructions/resolve.js +939 -0
- package/runtime/plugins/picasso-instructions/scan.js +181 -0
- package/runtime/plugins/picasso-instructions/settings.js +150 -0
- package/runtime/plugins/picasso-instructions/skills.js +345 -0
- package/runtime/plugins/picasso-lean-context/index.js +6280 -0
- package/runtime/plugins/picasso-lean-context/package.json +26 -0
- package/runtime/plugins/picasso-lean-context/read-image-recovery.js +306 -0
- package/runtime/plugins/picasso-lean-context/timeline.js +418 -0
- package/runtime/plugins/picasso-librarian/classify.js +146 -0
- package/runtime/plugins/picasso-librarian/index.js +878 -0
- package/runtime/plugins/picasso-librarian/notes.js +159 -0
- package/runtime/plugins/picasso-librarian/package.json +34 -0
- package/runtime/plugins/picasso-librarian/state.js +478 -0
- package/runtime/plugins/picasso-lifecycle-hooks/index.js +186 -0
- package/runtime/plugins/picasso-lifecycle-hooks/package.json +25 -0
- package/runtime/plugins/picasso-mail/inbox.js +207 -0
- package/runtime/plugins/picasso-mail/index.js +293 -0
- package/runtime/plugins/picasso-mail/package.json +22 -0
- package/runtime/plugins/picasso-memory/index.js +1184 -0
- package/runtime/plugins/picasso-memory/package.json +21 -0
- package/runtime/plugins/picasso-model-router/connections.js +912 -0
- package/runtime/plugins/picasso-model-router/index.js +1083 -0
- package/runtime/plugins/picasso-model-router/package.json +30 -0
- package/runtime/plugins/picasso-options/index.js +263 -0
- package/runtime/plugins/picasso-options/package.json +28 -0
- package/runtime/plugins/picasso-progress-reports/index.js +267 -0
- package/runtime/plugins/picasso-progress-reports/package.json +30 -0
- package/runtime/plugins/picasso-progress-reports/report.js +235 -0
- package/runtime/plugins/picasso-provider-models/index.js +436 -0
- package/runtime/plugins/picasso-provider-models/package.json +28 -0
- package/runtime/plugins/picasso-repo-index/index.js +1850 -0
- package/runtime/plugins/picasso-repo-index/package.json +28 -0
- package/runtime/plugins/picasso-schedule-pause/index.js +344 -0
- package/runtime/plugins/picasso-schedule-pause/package.json +28 -0
- package/runtime/plugins/picasso-session-lifecycle/index.js +796 -0
- package/runtime/plugins/picasso-session-lifecycle/package.json +28 -0
- package/runtime/plugins/picasso-trackers/index.js +895 -0
- package/runtime/plugins/picasso-trackers/package.json +28 -0
- package/runtime/plugins/picasso-web-search/backends.js +412 -0
- package/runtime/plugins/picasso-web-search/config.js +121 -0
- package/runtime/plugins/picasso-web-search/failure.js +116 -0
- package/runtime/plugins/picasso-web-search/format.js +42 -0
- package/runtime/plugins/picasso-web-search/index.js +71 -0
- package/runtime/plugins/picasso-web-search/package.json +38 -0
- package/runtime/plugins/picasso-web-search/router.js +156 -0
- package/runtime/plugins/picasso-x-reader/circle.js +324 -0
- package/runtime/plugins/picasso-x-reader/command.js +169 -0
- package/runtime/plugins/picasso-x-reader/index.js +170 -0
- package/runtime/plugins/picasso-x-reader/package.json +39 -0
- package/runtime/plugins/picasso-x-reader/read.js +370 -0
- package/runtime/plugins/picasso-x-reader/rewrite.js +38 -0
- package/runtime/plugins/picasso-x-reader/settings.js +131 -0
- package/runtime/plugins/picasso-x-reader/urls.js +154 -0
- package/runtime/plugins/picasso-x-reader/xmd.js +512 -0
- package/runtime/relay/attachment-text.mjs +737 -0
- package/runtime/relay/companion/companion.css +126 -0
- package/runtime/relay/companion/companion.js +648 -0
- package/runtime/relay/companion/icon.svg +5 -0
- package/runtime/relay/companion/index.html +25 -0
- package/runtime/relay/companion/manifest.json +13 -0
- package/runtime/relay/companion/sw.js +41 -0
- package/runtime/relay/main.mjs +38580 -0
- package/runtime/relay/model-listing.mjs +614 -0
- package/runtime/relay/versions-routes.mjs +1400 -0
- package/runtime/verify-plugins.mjs +205 -0
- package/runtime-lock/package-lock.json +10779 -0
- package/runtime-lock/package.json +7 -0
- package/scripts/install-runtime.mjs +400 -0
- package/README.md +0 -3
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# Picasso overlay for `dsh --profile sdk --patch <this>` (the modern dsh path).
|
|
2
|
+
# Applied after the profile and user layers, so the TUI's --permission-mode
|
|
3
|
+
# (exported as DSH_PERMISSION_MODE) decides the sandbox and approval policy
|
|
4
|
+
# instead of the home-level defaults.
|
|
5
|
+
#
|
|
6
|
+
# Contract assertions (AO-006.02): the env contract is validated at patch-eval
|
|
7
|
+
# time so launch fails closed instead of booting under a garbage preset or a
|
|
8
|
+
# half-configured managed lane.
|
|
9
|
+
# * DSH_PERMISSION_MODE outside the three known presets coerces to
|
|
10
|
+
# workspace-write (the safe default) rather than feeding an invalid string
|
|
11
|
+
# into the sandbox/approval schemas.
|
|
12
|
+
# * PICASSO_MANAGED_MODE=1 (set only by @picasso/core when the session
|
|
13
|
+
# launches in managed mode) requires the full managed env trio. The launch
|
|
14
|
+
# gate is parent-side: @picasso/core's assertManagedTransportConfig refuses
|
|
15
|
+
# to spawn dsh at all with an incomplete managed config. The throw below is
|
|
16
|
+
# defense in depth, and the real dsh does NOT treat it as a launch failure:
|
|
17
|
+
# it logs "entry did not activate" and keeps running without the
|
|
18
|
+
# permission-presets service. Proven on the pinned dsh
|
|
19
|
+
# (apps/api/test/real-dsh/failclosed-managed.e2e.ts): the first turn is then
|
|
20
|
+
# rejected ('cannot get property "permissionPresets" without inject') before
|
|
21
|
+
# any tool or model call, and a session routed to picasso-managed fails at
|
|
22
|
+
# start ('no adapter registered for provider').
|
|
23
|
+
#
|
|
24
|
+
# Managed binding (AO-007.04): the `picasso-managed` provider route itself is
|
|
25
|
+
# mounted by the generated runtime patch (runtime-session.ts +
|
|
26
|
+
# dsh/managed-transport.ts) because the plugin path is machine-specific; this
|
|
27
|
+
# file asserts its env contract. Sandbox and approval policy below is unchanged
|
|
28
|
+
# in managed mode — the adapter inherits the same preset and ask/never policy
|
|
29
|
+
# as any other route.
|
|
30
|
+
- id: sandbox-policy
|
|
31
|
+
config:
|
|
32
|
+
# DSH_PERMISSION_MODE names a permission preset; the preset-only rungs map
|
|
33
|
+
# to their sandbox here so accept-edits/dont-ask launches stay valid modes.
|
|
34
|
+
# allow-modified is workspace-write with a sdk-server pre-execute guard on
|
|
35
|
+
# top (new-file creation refused); it is not a SandboxMode spelling.
|
|
36
|
+
mode: !!js >-
|
|
37
|
+
(() => {
|
|
38
|
+
const mapped = ({ 'accept-edits': 'workspace-write', 'dont-ask': 'danger-full-access', 'allow-modified': 'workspace-write' })[process.env.DSH_PERMISSION_MODE]
|
|
39
|
+
?? process.env.DSH_PERMISSION_MODE ?? 'workspace-write';
|
|
40
|
+
return ['read-only', 'workspace-write', 'danger-full-access'].includes(mapped) ? mapped : 'workspace-write';
|
|
41
|
+
})()
|
|
42
|
+
- id: approval
|
|
43
|
+
config:
|
|
44
|
+
policy: !!js >-
|
|
45
|
+
['danger-full-access', 'accept-edits', 'dont-ask'].includes(process.env.DSH_PERMISSION_MODE) ? 'never' : 'ask'
|
|
46
|
+
- id: permission
|
|
47
|
+
config:
|
|
48
|
+
defaultPreset: !!js >-
|
|
49
|
+
(() => {
|
|
50
|
+
if (process.env.PICASSO_MANAGED_MODE === '1') {
|
|
51
|
+
const missing = ['PICASSO_MANAGED_API_URL', 'PICASSO_MANAGED_SESSION_TOKEN', 'PICASSO_MANAGED_UPSTREAM']
|
|
52
|
+
.filter((key) => !process.env[key] && !(key === 'PICASSO_MANAGED_SESSION_TOKEN' && process.env.PICASSO_MANAGED_SESSION_TOKEN_FILE));
|
|
53
|
+
if (missing.length > 0) throw new Error('picasso-sdk.patch: managed mode requires ' + missing.join(', '));
|
|
54
|
+
}
|
|
55
|
+
const mode = process.env.DSH_PERMISSION_MODE ?? 'workspace-write';
|
|
56
|
+
return ['read-only', 'workspace-write', 'accept-edits', 'danger-full-access', 'dont-ask', 'allow-modified'].includes(mode) ? mode : 'workspace-write';
|
|
57
|
+
})()
|
|
58
|
+
presets:
|
|
59
|
+
read-only:
|
|
60
|
+
sandbox: read-only
|
|
61
|
+
approval: ask
|
|
62
|
+
name: Read Only
|
|
63
|
+
workspace-write:
|
|
64
|
+
sandbox: workspace-write
|
|
65
|
+
approval: ask
|
|
66
|
+
name: Workspace Write
|
|
67
|
+
# Edits inside the workspace never prompt; anything the sandbox cannot
|
|
68
|
+
# cover is denied outright rather than asked. Never weaker than
|
|
69
|
+
# workspace-write on the sandbox axis.
|
|
70
|
+
accept-edits:
|
|
71
|
+
sandbox: workspace-write
|
|
72
|
+
approval: never
|
|
73
|
+
name: Accept Edits
|
|
74
|
+
danger-full-access:
|
|
75
|
+
sandbox: danger-full-access
|
|
76
|
+
approval: never
|
|
77
|
+
name: Full Access
|
|
78
|
+
# Never prompt; full host access. Same knob spec as Full Access and
|
|
79
|
+
# declared after it so derivation keeps reporting "danger-full-access".
|
|
80
|
+
dont-ask:
|
|
81
|
+
sandbox: danger-full-access
|
|
82
|
+
approval: never
|
|
83
|
+
name: Dont Ask
|
|
84
|
+
# Writes may only change files that already exist: new-file creation and
|
|
85
|
+
# mkdir of new paths are refused outright by the sdk-server's
|
|
86
|
+
# allow-modified pre-execute guard (wave2-hooks.js), which follows the
|
|
87
|
+
# session's effective preset. The bundle itself is workspace-write/ask —
|
|
88
|
+
# the PresetSpec schema carries no file-creation knob.
|
|
89
|
+
allow-modified:
|
|
90
|
+
sandbox: workspace-write
|
|
91
|
+
approval: ask
|
|
92
|
+
name: Allow Modified
|
|
93
|
+
description: Edit existing files only; new-file creation is denied.
|
|
94
|
+
# Preset entries may additionally declare `onFailure` — the PresetSpec
|
|
95
|
+
# schema is not strict, so the key survives validation and
|
|
96
|
+
# `permissionPresets.resolve(name)` returns it to the sdk-server's
|
|
97
|
+
# failure-policy listener (failure-policy.js). `onFailure: ask` escalates
|
|
98
|
+
# a failed call to a fresh approval ask; `retry:N` re-dispatches it at
|
|
99
|
+
# most N times (capped at 2); `abort` cancels the turn with a durable
|
|
100
|
+
# hook cause. A record keys policies by tool name with `*` as fallback
|
|
101
|
+
# (e.g. `onFailure: { bash: 'retry:2', '*': 'ask' }`); `off` disables a
|
|
102
|
+
# rule. `PICASSO_ON_FAILURE` is the same grammar as a comma-separated
|
|
103
|
+
# env spec (`bash=retry:2,ask`) and covers what the preset leaves
|
|
104
|
+
# undeclared. No entry declares a default today — absent declarations
|
|
105
|
+
# keep the stock pipeline.
|
|
106
|
+
# `auto` is reserved by dsh for the live auto-review integration; the
|
|
107
|
+
# ecosystem patch mounts it only when DSH_PERMISSION_MODE_PICASSO=auto and
|
|
108
|
+
# the sdk server adopts the preset per session. It cannot be a table entry
|
|
109
|
+
# here (the plugin rejects a configured "auto").
|
|
110
|
+
# Read-before-write (dsh 0.2.2 ships `fs-observation-policy` disabled in dsh-base): Picasso restores it, so `edit`
|
|
111
|
+
# and `write` refuse a file the session has not read or that changed since it was read (FS_NOT_OBSERVED /
|
|
112
|
+
# FS_STALE_VERSION, with a "read the file, then retry" remedy). It only listens to `fs/*` intent events and adds
|
|
113
|
+
# no tool or prompt text, so Tier-1 bytes are unchanged. The Mac relay restores it too (dsh-host.ts
|
|
114
|
+
# PICASSO_FS_SAFETY_ROWS).
|
|
115
|
+
- id: fs-observation-policy
|
|
116
|
+
disabled: false
|
|
117
|
+
|
|
118
|
+
# Child model selection on `subagent` (provider / model / reasoning_effort + `list_subagent_models`). dsh 0.2.2's
|
|
119
|
+
# web presets (the Mac's standard/ptc presets) switch it on; the CLI matches so the Tier-1 `subagent` schema stays
|
|
120
|
+
# byte-identical across surfaces (lean-context COMPOSITION_FIELDS). A patch row replaces the whole `config`, so the
|
|
121
|
+
# base row's provider and tool name are restated.
|
|
122
|
+
- id: tool-subagent
|
|
123
|
+
config:
|
|
124
|
+
provider: spawn
|
|
125
|
+
toolName: subagent
|
|
126
|
+
modelSelection: true
|
|
127
|
+
modelDiscovery: true
|
|
128
|
+
|
|
129
|
+
# Workspace instructions come from Picasso's own resolver (packages/picasso-instructions, mounted as an ecosystem
|
|
130
|
+
# plugin): every repository format (AGENTS.md, PICASSO.md, CLAUDE.md, Copilot, Cursor, Windsurf, …), one shared
|
|
131
|
+
# setting, other tools' home-directory files only when switched on. The engine's loader would read AGENTS.md a
|
|
132
|
+
# second time and always read `~/.agents/AGENTS.md`, so its row is off (the Mac relay drops it the same way).
|
|
133
|
+
- id: agent-instructions
|
|
134
|
+
disabled: true
|
|
135
|
+
|
|
136
|
+
# Custody (frozen blocker 4): dsh ships three uploads that are ON by default in
|
|
137
|
+
# the sdk profile, and none is needed by Picasso.
|
|
138
|
+
# * session-telemetry-otel: FEEDBACK_ONLY releases the canonical session
|
|
139
|
+
# prefix (prompts, tool results, context) to dsh-otel-collector.deepseeksvc.com
|
|
140
|
+
# on any /feedback, rating or note edit (message-feedback and the /feedback
|
|
141
|
+
# command are mounted).
|
|
142
|
+
# * session-log-deepseek: attaches the whole session log as `dsh_session_log`
|
|
143
|
+
# to every official DeepSeek API request.
|
|
144
|
+
# * plugin-package-inventory-deepseek: attaches the installed plugin list as
|
|
145
|
+
# `dsh_plugin_packages` to every official DeepSeek API request.
|
|
146
|
+
# All three are provider-request or exporter metadata outside the model-visible
|
|
147
|
+
# prefix, so switching them never changes Tier-1 bytes. Re-enabling is an
|
|
148
|
+
# explicit act: PICASSO_DSH_TELEMETRY=on. @picasso/core also exports
|
|
149
|
+
# DSH_TELEMETRY_MODE=DISABLED to the child unless that opt-in is set.
|
|
150
|
+
# A patch row REPLACES the base row's whole `config`, so the exporter and processor
|
|
151
|
+
# settings of dsh-base are restated here; without them the opt-in would select
|
|
152
|
+
# FEEDBACK_ONLY with no exporter and never export (egress proof:
|
|
153
|
+
# packages/core/test/feedback-egress.test.ts).
|
|
154
|
+
- id: session-telemetry-otel
|
|
155
|
+
config:
|
|
156
|
+
mode: !!js >-
|
|
157
|
+
process.env.PICASSO_DSH_TELEMETRY === 'on' ? (process.env.DSH_TELEMETRY_MODE || 'FEEDBACK_ONLY') : 'DISABLED'
|
|
158
|
+
shutdownTimeoutMillis: 3000
|
|
159
|
+
maxRequestBytes: 4000000
|
|
160
|
+
exporter:
|
|
161
|
+
url: !!js >-
|
|
162
|
+
process.env.DSH_TELEMETRY_OTLP_URL ??
|
|
163
|
+
'https://dsh-otel-collector.deepseeksvc.com/v1/logs'
|
|
164
|
+
compression: gzip
|
|
165
|
+
timeoutMillis: 1000
|
|
166
|
+
processor:
|
|
167
|
+
scheduledDelayMillis: 10000
|
|
168
|
+
maxQueueSize: 2048
|
|
169
|
+
maxExportBatchSize: 2048
|
|
170
|
+
exportTimeoutMillis: 1500
|
|
171
|
+
- id: session-log-deepseek
|
|
172
|
+
config:
|
|
173
|
+
enabled: !!js process.env.PICASSO_DSH_TELEMETRY === 'on'
|
|
174
|
+
- id: plugin-package-inventory-deepseek
|
|
175
|
+
config:
|
|
176
|
+
enabled: !!js process.env.PICASSO_DSH_TELEMETRY === 'on'
|
|
177
|
+
|
|
178
|
+
# Tier-1 stability on the official DeepSeek API-key route (`deepseek-official`).
|
|
179
|
+
# From 0.2.1-rc.5 that route follows the official `GET /models` listing whenever
|
|
180
|
+
# `models` equals the built-in catalog, and a listed model's
|
|
181
|
+
# `system_prompt_update` / `tool_update` modes change how later system-prompt
|
|
182
|
+
# and tool updates are serialized, so a mid-session listing refresh could move
|
|
183
|
+
# bytes in the cached prefix. A `models` list that differs from the built-in
|
|
184
|
+
# catalog replaces it and stops listing requests. This list is exactly the
|
|
185
|
+
# 0.2.1-rc.2 built-in catalog (`contextWindow: 1000000`), which differs from the
|
|
186
|
+
# rc.3 built-in (`1048576`), so behaviour is unchanged from rc.2 and the route
|
|
187
|
+
# never lists. A list equal to the built-in would NOT pin: it counts as
|
|
188
|
+
# uncustomized. apps/desktop-helper/src/dsh-host.ts carries the same list for the
|
|
189
|
+
# Mac; apps/desktop-helper/test/deepseek-catalog-pin.test.ts keeps them equal.
|
|
190
|
+
# The account route (`llm-deepseek-account`) has no `models` field and cannot
|
|
191
|
+
# be pinned here; its listing stays on.
|
|
192
|
+
- id: llm-deepseek
|
|
193
|
+
config:
|
|
194
|
+
models:
|
|
195
|
+
- id: deepseek-flash
|
|
196
|
+
name: DeepSeek-V4.1-Flash
|
|
197
|
+
contextWindow: 1000000
|
|
198
|
+
inputModalities: [text, image]
|
|
199
|
+
systemPromptUpdate: in-history
|
|
200
|
+
toolUpdate: addition-only
|
|
201
|
+
- id: deepseek-v4-pro
|
|
202
|
+
name: DeepSeek-V4-Pro
|
|
203
|
+
description: Stronger agentic coding, knowledge, and difficult reasoning; suited to complex or quality-critical tasks at higher cost.
|
|
204
|
+
contextWindow: 1000000
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
{
|
|
2
|
+
"relay": "0.1.0",
|
|
3
|
+
"plugins": {
|
|
4
|
+
"schemaVersion": 1,
|
|
5
|
+
"dirs": {
|
|
6
|
+
"picasso-session-lifecycle": {
|
|
7
|
+
"name": "@picasso/session-lifecycle",
|
|
8
|
+
"version": "0.1.0",
|
|
9
|
+
"files": {
|
|
10
|
+
"index.js": "d4ef9d45a2e2d32f7dac95885dc26a342c4ce6ca6f7175010a5ea1151c5ce591",
|
|
11
|
+
"package.json": "1ac5131c4ade818605ba29fc24b6d2991c20c169fe17f636f37c1ded5cad0058"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"picasso-instructions": {
|
|
15
|
+
"name": "@picasso/instructions",
|
|
16
|
+
"version": "0.1.0",
|
|
17
|
+
"files": {
|
|
18
|
+
"index.js": "0bafd2ed60dcdaa527a704caa6449e40dde1625ffe64273a5e450a032bd29d59",
|
|
19
|
+
"package.json": "e236539faed2ee79da127e6a8cbd575fda54f2b5a26372aa27ee5e829b08d519",
|
|
20
|
+
"conflicts.js": "a74dba26568844021763ea421dc0de66a5d4efd8e8102e95f299d294a807247e",
|
|
21
|
+
"formats.js": "7bbdb71731d313d2f6a2fe10dc7bf45aae81da4e3c75dcc2fd4bcd3ebd87189a",
|
|
22
|
+
"frontmatter.js": "2fa671b8849067bf32a080c5694051e66a86db1313c54d725ab8d873879fc1f6",
|
|
23
|
+
"glob.js": "cc54856625651da66b61b5558111216a047d89abca7c6eb7c674846b4d9fbf06",
|
|
24
|
+
"globals.js": "5c1370db6e78205ea3095e580db303fa0754c3ea73dd3f8901ddac378b423f24",
|
|
25
|
+
"imports.js": "f840cfc150a71162370e51b01a75f8dcd46539626aaae2795ccba3fc64136d7d",
|
|
26
|
+
"modes.js": "24795b5aa5bd4bf4cf6853a787c83d37638c7083f104a28de20cb0c44f7c4fff",
|
|
27
|
+
"parse.js": "b78a065d408d0217dc53d71374877428d301c3ddd7076f86d617ae33f2fd43fe",
|
|
28
|
+
"report.js": "45cd2a0f9985e24818318aba0d2dbcf638417208a6dab85894215e617a2bcfb4",
|
|
29
|
+
"resolve.js": "a59455227c8f326cb23b70ff1f1fbb4e390c6ea2aed5633228a36018c3b0c882",
|
|
30
|
+
"scan.js": "3ce133f25f391487e5e158efd103a7129131ca06141ac1c4040ef4e7916be757",
|
|
31
|
+
"settings.js": "46aa50ba085c2c562c9f2ea9aacd5761c87e8fc8dfd919391bd53682bb99b805",
|
|
32
|
+
"skills.js": "ae048261b8aaacc9624c1d3c15d74c49b1470c29843c76c47fd95fd969384518"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"picasso-memory": {
|
|
36
|
+
"name": "@picasso/memory-recall",
|
|
37
|
+
"version": "0.1.0",
|
|
38
|
+
"files": {
|
|
39
|
+
"index.js": "90a0eda004de42d31626883ec32860e99c252761b83738c4a8bafc633f45a59d",
|
|
40
|
+
"package.json": "a21aa04702ed2648cda1c6bf6fade2df9e828f13b6f323f07d50ff3996c77cfa"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"picasso-schedule-pause": {
|
|
44
|
+
"name": "@picasso/schedule-pause",
|
|
45
|
+
"version": "0.1.0",
|
|
46
|
+
"files": {
|
|
47
|
+
"index.js": "91d7cb8cc3793d42cf095b67382ea197d80a5e31d6b7f20b87e40bae998baec8",
|
|
48
|
+
"package.json": "ec63beb47b91a5fb331dc15261270192d87ad17ba6c7d7808b168c755333348b"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"picasso-provider-models": {
|
|
52
|
+
"name": "@picasso/provider-models",
|
|
53
|
+
"version": "0.1.0",
|
|
54
|
+
"files": {
|
|
55
|
+
"index.js": "0ed263a0c4df8952f3534693fc7f5d73636c693d4118fafab121ad9f7434417c",
|
|
56
|
+
"package.json": "f986cd54a174232336751f5d0ed8dfe9298a24ce2dce66d06aeda8df70668252"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"picasso-browser": {
|
|
60
|
+
"name": "@picasso/browser",
|
|
61
|
+
"version": "0.1.0",
|
|
62
|
+
"files": {
|
|
63
|
+
"index.js": "040f4f1cd256299b12bf2dbd899fe2eff4a5842db6ea89fe458777f89398c08b",
|
|
64
|
+
"package.json": "799fe2d8e2ae4ed7a5b2b0a22ffcd71940c4ac7168f361e23c15cb7b2647e4ac"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"picasso-checkpoints": {
|
|
68
|
+
"name": "@picasso/checkpoints",
|
|
69
|
+
"version": "0.1.0",
|
|
70
|
+
"files": {
|
|
71
|
+
"index.js": "18d952af074c6d6cafc811b15a6652f59b28631affe79866e6542c68a88394a5",
|
|
72
|
+
"package.json": "477d06839419f9cfc2979bb612112a4eded21a85c7351458319938b7f8820742",
|
|
73
|
+
"evidence.js": "e15fafa44f5fc9516721cea740bef67110137b7a13c6d5e887ac723638e4c5fd"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"picasso-commands": {
|
|
77
|
+
"name": "@picasso/commands-bridge",
|
|
78
|
+
"version": "0.1.0",
|
|
79
|
+
"files": {
|
|
80
|
+
"index.js": "cd40b5bf90946197b1088be22f8b5f622d747bd1662133fbcc7e44573a62fa3f",
|
|
81
|
+
"package.json": "463b0792f1be2badf714f4c01eaccd714718c59d28c5cea4dbbb5a409ea62bd0",
|
|
82
|
+
"fresh-review.js": "7e8b7e0079bb2f2be3b6d7d9cec2456b34c69b5e7c9d13cf32ab83f3e355c8ab"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"picasso-auto-approve": {
|
|
86
|
+
"name": "@picasso/auto-approve",
|
|
87
|
+
"version": "0.1.0",
|
|
88
|
+
"files": {
|
|
89
|
+
"index.js": "41ef34fa70440ea8879c8fcfa04d82d860d86ebb9d00a9cbeac8db4fe5b2db81",
|
|
90
|
+
"package.json": "21aac7268052b26ffa545ee9cc420c0ddf7466df96b07fbe1bf4701c2cf2532d"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"picasso-lifecycle-hooks": {
|
|
94
|
+
"name": "@picasso/lifecycle-hooks",
|
|
95
|
+
"version": "0.1.0",
|
|
96
|
+
"files": {
|
|
97
|
+
"index.js": "909497c6f0b29d2d4cea31145c07a591e1e04dac3a348a31c7843338447b632a",
|
|
98
|
+
"package.json": "54639113ead4d787f6fb9cf16c53cb44e2d50552b0f94d4ecce6dd84c66ca267"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"picasso-auth-bridge": {
|
|
102
|
+
"name": "@picasso/auth-bridge",
|
|
103
|
+
"version": "0.1.0",
|
|
104
|
+
"files": {
|
|
105
|
+
"index.js": "6c0e643446f4cf18058769ca2d1a561a139ecc54f0c7e90ab132c277dd71f967",
|
|
106
|
+
"package.json": "2ec51958c26e2395310b23b94d049f624e2f06c171e93d3af87eae4a385cf536"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"picasso-repo-index": {
|
|
110
|
+
"name": "@picasso/repo-index",
|
|
111
|
+
"version": "0.1.0",
|
|
112
|
+
"files": {
|
|
113
|
+
"index.js": "e835ab55ab795aab092e4aab70849be9f4146b177e357d52d74c7b22cc18ade5",
|
|
114
|
+
"package.json": "dcdab522f872bcd84421fd21d22816046148d2247983c86b2a0e1f5e94a74614"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"picasso-trackers": {
|
|
118
|
+
"name": "@picasso/trackers",
|
|
119
|
+
"version": "0.1.0",
|
|
120
|
+
"files": {
|
|
121
|
+
"index.js": "5dba3a5b263273103e7ce5ef71f56f6d944ac3f42c53673c16a8fa1e47d55f8f",
|
|
122
|
+
"package.json": "762afca9934265c1efcd5da6508de0bef07cae18ba94dc676db3ec034860881c"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"picasso-mail": {
|
|
126
|
+
"name": "@picasso/mail",
|
|
127
|
+
"version": "0.1.0",
|
|
128
|
+
"files": {
|
|
129
|
+
"index.js": "4359808881216063076235cb2ddd041d038362cff24a08ab2757599e42d58e50",
|
|
130
|
+
"package.json": "e1affe07d4e5064df306e16406236d1b30f745253db90d69bd5378ce0c6f632e",
|
|
131
|
+
"inbox.js": "45107780b8011759b76314b45af1751184178007f4c021f40a4cadfd6a2b3216"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"picasso-model-router": {
|
|
135
|
+
"name": "@picasso/model-router",
|
|
136
|
+
"version": "0.1.0",
|
|
137
|
+
"files": {
|
|
138
|
+
"index.js": "6327352fdad32009238466a7db7c8dc65ce6a490feee709cb9d8b732bcec38b5",
|
|
139
|
+
"package.json": "97182c6759b2f9ec2bd7a3db0438c64f27f7efdc8f3b2661ec2fae68d4248618",
|
|
140
|
+
"connections.js": "74f820e01c45f767bc1506643c066052f09d3bd8a12ee9a6faf355c839ad962f"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"picasso-lean-context": {
|
|
144
|
+
"name": "@picasso/lean-context",
|
|
145
|
+
"version": "0.1.0",
|
|
146
|
+
"files": {
|
|
147
|
+
"index.js": "4159efada2971833ec41a90e64b42d1dcc7d0388c142d4c82beef33b40474ccb",
|
|
148
|
+
"package.json": "3f48eb73b4a3e92a2b4d6562a235f733db7368c6450ad6bc6323504109110c90",
|
|
149
|
+
"read-image-recovery.js": "536a476dd842f8e647ebcd67fcc24d66c6f3b255a04cc932c07dcbd216ffdb50",
|
|
150
|
+
"timeline.js": "ddde3cd2cb7dfa90877b9b80250c470983ec773711410200302d08c94e811eeb"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"picasso-progress-reports": {
|
|
154
|
+
"name": "@picasso/progress-reports",
|
|
155
|
+
"version": "0.1.0",
|
|
156
|
+
"files": {
|
|
157
|
+
"index.js": "31c2f2900f7d634b4ba09102e6844b673e11a88bc32991144a44f861f3b7d40b",
|
|
158
|
+
"package.json": "b023bd7eca1de3c72618750e7ae586f63b1b6c07b4b1735ecd7746c0177e288d",
|
|
159
|
+
"report.js": "430e3d834789a1d45e1442dcb26939b91f48dfe852d9c6df02223694b6f46728"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"picasso-librarian": {
|
|
163
|
+
"name": "@picasso/librarian",
|
|
164
|
+
"version": "0.1.0",
|
|
165
|
+
"files": {
|
|
166
|
+
"index.js": "8ed865aeb9f7a4e888cce2626d7f73bedbd3bf25d932a4cbce11f2fe24bc660c",
|
|
167
|
+
"package.json": "c8f0c9027cb200606066e9ac33bb884309b13151b93129731ba6102ecccbf9ed",
|
|
168
|
+
"classify.js": "4b5aa36715d7bfd91cf69a68b40638304b87c2fbd300fe612d159c71e885df69",
|
|
169
|
+
"notes.js": "70d39d8a9d12d13b5b276986e66ba3a7579e381de692b85fcf377f6f5c0fe44c",
|
|
170
|
+
"state.js": "cc1e2a64cb2e085774707fd6eeda14d32cad81aa5b59210c76aebb0e63a3b7e4"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"picasso-x-reader": {
|
|
174
|
+
"name": "@picasso/x-reader",
|
|
175
|
+
"version": "0.1.0",
|
|
176
|
+
"files": {
|
|
177
|
+
"index.js": "b324a5773a49c4abae8593ae01c89d4da52ec7e9aac317a19d574652a3670530",
|
|
178
|
+
"package.json": "463f260941317387f057a79f7c3d8ce55ace2689e3d3c4630034e7d40b207d13",
|
|
179
|
+
"circle.js": "d129534fb0f6b1d1c2ca1dc6259f5e88397e7f1e5630e3333b265cb4fd52f1f1",
|
|
180
|
+
"command.js": "d22cf2c104e1992cf62ae228304d3f87bdab21a8f3fa88ea8fa0380cfe8dcd21",
|
|
181
|
+
"read.js": "9e2043a2bdac389a17c395a995aaea753699e74c3978980f5623955693332f1a",
|
|
182
|
+
"rewrite.js": "a042545b301ad5ba0c2ab11c7f273125935ef2a377b53f672217d08bf7f6be43",
|
|
183
|
+
"settings.js": "6245d93acc38ffb084499e2d9505ee7d7f36aee4a469410ce94c924d075f6b59",
|
|
184
|
+
"urls.js": "73e0c5cba82f63cd80e3ff76889777580f4ebed8084bb70287193a7ce12f9eae",
|
|
185
|
+
"xmd.js": "ca6fa8516e1a13dc2d687173a2bde5409f207b447c13ec7a15cd633dbc0ed3be"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"picasso-web-search": {
|
|
189
|
+
"name": "@picasso/web-search",
|
|
190
|
+
"version": "0.1.0",
|
|
191
|
+
"files": {
|
|
192
|
+
"index.js": "87a5f63c40666398d5b5b77bca0db6fd515dd9ee03e71c7b7aeaaf2834900419",
|
|
193
|
+
"package.json": "4a79b83755487dd2d966e7d9be880b3b88158079cb425c70c808ce2c45203bb4",
|
|
194
|
+
"backends.js": "9e6e061346447162c3915af39a925b3d35d571fbb58deae6b70429a2dbdbbf23",
|
|
195
|
+
"config.js": "a588bccbab9367cb9aa6da43c92640c6e4ddb2e2cd9a91ff880231188d55a682",
|
|
196
|
+
"failure.js": "e4887b4031d270ad97965c90837908db86fdd253d544598c551fb352983ea90a",
|
|
197
|
+
"format.js": "98ce375335319a99476afc82e39c29192db78a8a7fbdebbdedfd0b75065a0f1f",
|
|
198
|
+
"router.js": "afcb531a10bfba431957e2389209aef44e6a957879c0f562ace0da01a680758b"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"picasso-options": {
|
|
202
|
+
"name": "@picasso/options",
|
|
203
|
+
"version": "0.1.0",
|
|
204
|
+
"files": {
|
|
205
|
+
"index.js": "b3382cae6ac274995672e29436e40db6be902017d31a8672ed90ac382c889ee2",
|
|
206
|
+
"package.json": "1a707ea5a282f38011b39c47d1fe725f8d34f84dbb85068b68ab8458256b6bae"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"dsh": {
|
|
212
|
+
"package": "@deepseek-ai/dsh",
|
|
213
|
+
"version": "0.2.2-rc.3"
|
|
214
|
+
}
|
|
215
|
+
}
|