dsh-plugin-guide 0.3.3 → 0.3.5
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/README.es.md +5 -1
- package/README.hi.md +5 -1
- package/README.md +5 -1
- package/README.pt.md +5 -1
- package/README.zh.md +5 -1
- package/dist/dsh-plugin-dev.js +3 -3
- package/guide/plugin-dev-guide.md +2 -2
- package/guide/quick-reference.es.md +2 -2
- package/guide/quick-reference.hi.md +1 -1
- package/guide/quick-reference.md +2 -2
- package/guide/quick-reference.pt.md +2 -2
- package/guide/quick-reference.zh-CN.md +2 -2
- package/package.json +5 -4
- package/references/official-docs/AGENTS.md +2 -2
- package/references/official-docs/SNAPSHOT.md +3 -3
- package/references/official-docs/THIRD_PARTY_NOTICES.md +4 -6
- package/references/official-docs/docs/agent-lifecycle.i18n.yaml +2 -2
- package/references/official-docs/docs/agent-lifecycle.md +5 -3
- package/references/official-docs/docs/agent-lifecycle.zh.md +5 -3
- package/references/official-docs/docs/architecture.i18n.yaml +2 -2
- package/references/official-docs/docs/architecture.md +7 -3
- package/references/official-docs/docs/architecture.zh.md +7 -3
- package/references/official-docs/docs/capability-seams.i18n.yaml +2 -2
- package/references/official-docs/docs/capability-seams.md +5 -0
- package/references/official-docs/docs/capability-seams.zh.md +5 -0
- package/references/official-docs/docs/config-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/config-catalog.md +15 -21
- package/references/official-docs/docs/config-catalog.zh.md +15 -21
- package/references/official-docs/docs/cookbook/extension-cookbook.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/extension-cookbook.md +12 -10
- package/references/official-docs/docs/cookbook/extension-cookbook.zh.md +12 -10
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.i18n.yaml +2 -2
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.md +16 -12
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +16 -12
- package/references/official-docs/docs/event-producer-consumer.i18n.yaml +2 -2
- package/references/official-docs/docs/event-producer-consumer.md +28 -27
- package/references/official-docs/docs/event-producer-consumer.zh.md +32 -31
- package/references/official-docs/docs/module-graph.i18n.yaml +2 -2
- package/references/official-docs/docs/module-graph.md +36 -14
- package/references/official-docs/docs/module-graph.zh.md +36 -14
- package/references/official-docs/docs/persistence-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-catalog.md +49 -39
- package/references/official-docs/docs/persistence-catalog.zh.md +39 -29
- package/references/official-docs/docs/subsystems/attachment.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/attachment.md +157 -4
- package/references/official-docs/docs/subsystems/attachment.zh.md +157 -4
- package/references/official-docs/docs/subsystems/commands.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/commands.md +24 -15
- package/references/official-docs/docs/subsystems/commands.zh.md +24 -15
- package/references/official-docs/docs/subsystems/conversation.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/conversation.md +4 -4
- package/references/official-docs/docs/subsystems/conversation.zh.md +4 -4
- package/references/official-docs/docs/subsystems/core.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/core.md +62 -1
- package/references/official-docs/docs/subsystems/core.zh.md +62 -1
- package/references/official-docs/docs/subsystems/llm-streaming.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/llm-streaming.md +23 -2
- package/references/official-docs/docs/subsystems/llm-streaming.zh.md +23 -2
- package/references/official-docs/docs/subsystems/persistence.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/persistence.md +10 -10
- package/references/official-docs/docs/subsystems/persistence.zh.md +10 -10
- package/references/official-docs/docs/subsystems/session-projection.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-projection.md +19 -0
- package/references/official-docs/docs/subsystems/session-projection.zh.md +19 -0
- package/references/official-docs/docs/subsystems/session-reference.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-reference.md +25 -1
- package/references/official-docs/docs/subsystems/session-reference.zh.md +25 -1
- package/references/official-docs/docs/subsystems/session-telemetry.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-telemetry.md +6 -5
- package/references/official-docs/docs/subsystems/session-telemetry.zh.md +6 -5
- package/references/official-docs/docs/subsystems/session.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session.md +52 -40
- package/references/official-docs/docs/subsystems/session.zh.md +52 -40
- package/references/official-docs/docs/subsystems/web-client.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/web-client.md +1 -1
- package/references/official-docs/docs/subsystems/web-client.zh.md +1 -1
- package/references/official-docs/docs/subsystems/workspace.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/workspace.md +8 -8
- package/references/official-docs/docs/subsystems/workspace.zh.md +8 -8
- package/references/official-docs/docs/testing.i18n.yaml +2 -2
- package/references/official-docs/docs/testing.md +2 -2
- package/references/official-docs/docs/testing.zh.md +2 -2
- package/references/official-docs/docs/user/guide/network-proxy.i18n.yaml +6 -0
- package/references/official-docs/docs/user/guide/network-proxy.md +85 -0
- package/references/official-docs/docs/user/guide/network-proxy.zh.md +85 -0
- package/references/official-docs/docs/user/guide/providers.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/providers.md +70 -17
- package/references/official-docs/docs/user/guide/providers.zh.md +70 -17
- package/references/official-docs/docs/web-styling.i18n.yaml +2 -2
- package/references/official-docs/docs/web-styling.md +1 -0
- package/references/official-docs/docs/web-styling.zh.md +1 -0
- package/references/official-docs/website-docs.ts +8 -0
- package/templates/js/README.es.md +1 -1
- package/templates/js/README.hi.md +1 -1
- package/templates/js/README.md +1 -1
- package/templates/js/README.pt.md +1 -1
- package/templates/js/README.zh.md +1 -1
- package/templates/ts/README.es.md +1 -1
- package/templates/ts/README.hi.md +1 -1
- package/templates/ts/README.md +1 -1
- package/templates/ts/README.pt.md +1 -1
- package/templates/ts/README.zh.md +1 -1
|
@@ -14,6 +14,7 @@ flowchart TD
|
|
|
14
14
|
pkg_brand["brand"]
|
|
15
15
|
pkg_deque["deque"]
|
|
16
16
|
pkg_home_paths["home-paths"]
|
|
17
|
+
pkg_http_proxy["http-proxy"]
|
|
17
18
|
pkg_launch_environment["launch-environment"]
|
|
18
19
|
pkg_native_command["native-command"]
|
|
19
20
|
pkg_output_retention["output-retention"]
|
|
@@ -133,6 +134,7 @@ flowchart TD
|
|
|
133
134
|
end
|
|
134
135
|
subgraph group_client["packages/client"]
|
|
135
136
|
pkg_client_connection["client-connection"]
|
|
137
|
+
pkg_client_file_upload["client-file-upload"]
|
|
136
138
|
pkg_client_hmr["client-hmr"]
|
|
137
139
|
pkg_client_locale["client-locale"]
|
|
138
140
|
pkg_client_modules["client-modules"]
|
|
@@ -285,6 +287,10 @@ flowchart TD
|
|
|
285
287
|
end
|
|
286
288
|
subgraph group_session["packages/session"]
|
|
287
289
|
pkg_session_checkpoint_policy["session-checkpoint-policy"]
|
|
290
|
+
pkg_session_format["session-format"]
|
|
291
|
+
pkg_session_format_catalog["session-format-catalog"]
|
|
292
|
+
pkg_session_format_v0_to_v1["session-format-v0-to-v1"]
|
|
293
|
+
pkg_session_format_v1_to_v2["session-format-v1-to-v2"]
|
|
288
294
|
pkg_session_log_deepseek["session-log-deepseek"]
|
|
289
295
|
pkg_session_persistence["session-persistence"]
|
|
290
296
|
pkg_session_persistence_jsonl["session-persistence-jsonl"]
|
|
@@ -362,9 +368,7 @@ flowchart TD
|
|
|
362
368
|
pkg_web --> pkg_llm
|
|
363
369
|
pkg_attachment --> pkg_brand
|
|
364
370
|
pkg_credentials --> pkg_invariants
|
|
365
|
-
|
|
366
|
-
pkg_subprocess_e2b --> pkg_subprocess
|
|
367
|
-
pkg_subprocess_e2b --> pkg_timeout
|
|
371
|
+
pkg_e2b --> pkg_http_proxy
|
|
368
372
|
pkg_experimental_code_runtime_python --> pkg_code_runtime
|
|
369
373
|
pkg_experimental_code_runtime_python --> pkg_timeout
|
|
370
374
|
pkg_experimental_code_runtime_python --> pkg_util_values
|
|
@@ -388,8 +392,7 @@ flowchart TD
|
|
|
388
392
|
pkg_storage_domain --> pkg_storage
|
|
389
393
|
pkg_storage_json --> pkg_storage
|
|
390
394
|
pkg_storage_sqlite --> pkg_storage
|
|
391
|
-
|
|
392
|
-
pkg_subprocess_local --> pkg_timeout
|
|
395
|
+
pkg_subprocess --> pkg_http_proxy
|
|
393
396
|
pkg_typert_loader --> pkg_typert_registry
|
|
394
397
|
pkg_session --> pkg_scope
|
|
395
398
|
pkg_system_prompt --> pkg_invariants
|
|
@@ -397,6 +400,7 @@ flowchart TD
|
|
|
397
400
|
pkg_system_prompt --> pkg_scope
|
|
398
401
|
pkg_skill --> pkg_llm
|
|
399
402
|
pkg_skill --> pkg_scope
|
|
403
|
+
pkg_web_fetch_http --> pkg_http_proxy
|
|
400
404
|
pkg_web_fetch_http --> pkg_timeout
|
|
401
405
|
pkg_web_fetch_http --> pkg_web
|
|
402
406
|
pkg_web_search_exa --> pkg_launch_environment
|
|
@@ -406,6 +410,7 @@ flowchart TD
|
|
|
406
410
|
pkg_api_remotes --> pkg_scope
|
|
407
411
|
pkg_attachment_local --> pkg_attachment
|
|
408
412
|
pkg_attachment_local --> pkg_home_paths
|
|
413
|
+
pkg_client_file_upload --> pkg_scope
|
|
409
414
|
pkg_authorization --> pkg_credentials
|
|
410
415
|
pkg_authorization --> pkg_invariants
|
|
411
416
|
pkg_authorization --> pkg_llm
|
|
@@ -413,6 +418,11 @@ flowchart TD
|
|
|
413
418
|
pkg_credentials_local --> pkg_credentials
|
|
414
419
|
pkg_credentials_local --> pkg_home_paths
|
|
415
420
|
pkg_credentials_local --> pkg_launch_environment
|
|
421
|
+
pkg_subprocess_e2b --> pkg_e2b
|
|
422
|
+
pkg_subprocess_e2b --> pkg_subprocess
|
|
423
|
+
pkg_subprocess_e2b --> pkg_timeout
|
|
424
|
+
pkg_subprocess_local --> pkg_subprocess
|
|
425
|
+
pkg_subprocess_local --> pkg_timeout
|
|
416
426
|
pkg_skill_badge --> pkg_skill
|
|
417
427
|
pkg_spill --> pkg_brand
|
|
418
428
|
pkg_spill --> pkg_llm
|
|
@@ -426,6 +436,7 @@ flowchart TD
|
|
|
426
436
|
pkg_persona --> pkg_system_prompt
|
|
427
437
|
pkg_sandbox --> pkg_llm
|
|
428
438
|
pkg_sandbox --> pkg_session
|
|
439
|
+
pkg_session_format_catalog --> pkg_session
|
|
429
440
|
pkg_session_log_deepseek --> pkg_deepseek_llm_api_extensions
|
|
430
441
|
pkg_session_log_deepseek --> pkg_invariants
|
|
431
442
|
pkg_session_log_deepseek --> pkg_session
|
|
@@ -436,6 +447,7 @@ flowchart TD
|
|
|
436
447
|
pkg_settings --> pkg_brand
|
|
437
448
|
pkg_settings --> pkg_invariants
|
|
438
449
|
pkg_settings --> pkg_session
|
|
450
|
+
pkg_session_snapshot --> pkg_http_proxy
|
|
439
451
|
pkg_session_snapshot --> pkg_session
|
|
440
452
|
pkg_agent --> pkg_invariants
|
|
441
453
|
pkg_agent --> pkg_llm
|
|
@@ -449,6 +461,7 @@ flowchart TD
|
|
|
449
461
|
pkg_fs --> pkg_llm
|
|
450
462
|
pkg_fs --> pkg_sandbox
|
|
451
463
|
pkg_spill_local --> pkg_spill
|
|
464
|
+
pkg_session_log_export --> pkg_session
|
|
452
465
|
pkg_session_log_export --> pkg_session_persistence
|
|
453
466
|
pkg_message_feedback --> pkg_brand
|
|
454
467
|
pkg_message_feedback --> pkg_llm
|
|
@@ -605,6 +618,7 @@ flowchart TD
|
|
|
605
618
|
pkg_terminal --> pkg_agent
|
|
606
619
|
pkg_terminal --> pkg_brand
|
|
607
620
|
pkg_loader_smoke --> pkg_agent
|
|
621
|
+
pkg_loader_smoke --> pkg_http_proxy
|
|
608
622
|
pkg_loader_smoke --> pkg_llm
|
|
609
623
|
pkg_loader_smoke --> pkg_session
|
|
610
624
|
pkg_workflow --> pkg_agent
|
|
@@ -1042,6 +1056,8 @@ flowchart TD
|
|
|
1042
1056
|
pkg_api_session_controller --> pkg_api_gateway
|
|
1043
1057
|
pkg_api_session_controller --> pkg_attachment
|
|
1044
1058
|
pkg_api_session_controller --> pkg_client_connection
|
|
1059
|
+
pkg_api_session_controller --> pkg_client_file_upload
|
|
1060
|
+
pkg_api_session_controller --> pkg_commands
|
|
1045
1061
|
pkg_api_session_controller --> pkg_file_reference
|
|
1046
1062
|
pkg_api_session_controller --> pkg_jobs
|
|
1047
1063
|
pkg_api_session_controller --> pkg_llm
|
|
@@ -1144,6 +1160,7 @@ flowchart TD
|
|
|
1144
1160
|
| [`brand`](../packages/util/brand) | `util` | — |
|
|
1145
1161
|
| [`deque`](../packages/util/deque) | `util` | — |
|
|
1146
1162
|
| [`home-paths`](../packages/util/home-paths) | `util` | — |
|
|
1163
|
+
| [`http-proxy`](../packages/util/http-proxy) | `util` | — |
|
|
1147
1164
|
| [`launch-environment`](../packages/util/launch-environment) | `util` | — |
|
|
1148
1165
|
| [`native-command`](../packages/util/native-command) | `util` | — |
|
|
1149
1166
|
| [`output-retention`](../packages/util/output-retention) | `util` | — |
|
|
@@ -1205,7 +1222,6 @@ flowchart TD
|
|
|
1205
1222
|
| [`client-ui-workspace`](../packages/client/ui-workspace) | `client` | — |
|
|
1206
1223
|
| [`client-web`](../packages/client/web) | `client` | — |
|
|
1207
1224
|
| [`code-runtime`](../packages/code-runtime/code-runtime) | `code-runtime` | — |
|
|
1208
|
-
| [`e2b`](../packages/e2b/e2b) | `e2b` | — |
|
|
1209
1225
|
| [`experimental-agent-team-profile`](../packages/experimental/agent-team-profile) | `experimental` | — |
|
|
1210
1226
|
| [`experimental-agent-team-web-profile`](../packages/experimental/agent-team-web-profile) | `experimental` | — |
|
|
1211
1227
|
| [`experimental-webworker-packer`](../packages/experimental/webworker-packer) | `experimental` | — |
|
|
@@ -1217,8 +1233,10 @@ flowchart TD
|
|
|
1217
1233
|
| [`host-webserver`](../packages/host/webserver) | `host` | — |
|
|
1218
1234
|
| [`invariants`](../packages/runtime-diagnostics/invariants) | `runtime-diagnostics` | — |
|
|
1219
1235
|
| [`sandbox-windows-acl`](../packages/sandbox/sandbox-windows-acl) | `sandbox` | — |
|
|
1236
|
+
| [`session-format`](../packages/session/session-format) | `session` | — |
|
|
1237
|
+
| [`session-format-v0-to-v1`](../packages/session/session-format-v0-to-v1) | `session` | — |
|
|
1238
|
+
| [`session-format-v1-to-v2`](../packages/session/session-format-v1-to-v2) | `session` | — |
|
|
1220
1239
|
| [`storage`](../packages/storage/storage) | `storage` | — |
|
|
1221
|
-
| [`subprocess`](../packages/subprocess/subprocess) | `subprocess` | — |
|
|
1222
1240
|
| [`win32-process`](../packages/subprocess/win32-process) | `subprocess` | — |
|
|
1223
1241
|
| [`llm-mock-server`](../packages/test-support/llm-mock-server) | `test-support` | — |
|
|
1224
1242
|
| [`typert-generator`](../packages/typert/generator) | `typert` | — |
|
|
@@ -1228,7 +1246,7 @@ flowchart TD
|
|
|
1228
1246
|
| [`web`](../packages/web/web) | `web` | [`llm`](../packages/llm/llm) |
|
|
1229
1247
|
| [`attachment`](../packages/attachment/attachment) | `attachment` | [`brand`](../packages/util/brand) |
|
|
1230
1248
|
| [`credentials`](../packages/credentials/credentials) | `credentials` | [`invariants`](../packages/runtime-diagnostics/invariants) |
|
|
1231
|
-
| [`
|
|
1249
|
+
| [`e2b`](../packages/e2b/e2b) | `e2b` | [`http-proxy`](../packages/util/http-proxy) |
|
|
1232
1250
|
| [`experimental-code-runtime-python`](../packages/experimental/code-runtime-python) | `experimental` | [`code-runtime`](../packages/code-runtime/code-runtime), [`timeout`](../packages/util/timeout), [`util-values`](../packages/util/values) |
|
|
1233
1251
|
| [`experimental-inspector`](../packages/experimental/inspector) | `experimental` | [`client-modules`](../packages/client/modules), [`host-webserver`](../packages/host/webserver) |
|
|
1234
1252
|
| [`experimental-webworker-runtime`](../packages/experimental/webworker-runtime) | `experimental` | [`client-connection`](../packages/client/connection), [`client-modules`](../packages/client/modules), [`host-webserver`](../packages/host/webserver) |
|
|
@@ -1239,33 +1257,37 @@ flowchart TD
|
|
|
1239
1257
|
| [`storage-domain`](../packages/storage/storage-domain) | `storage` | [`invariants`](../packages/runtime-diagnostics/invariants), [`storage`](../packages/storage/storage) |
|
|
1240
1258
|
| [`storage-json`](../packages/storage/storage-json) | `storage` | [`storage`](../packages/storage/storage) |
|
|
1241
1259
|
| [`storage-sqlite`](../packages/storage/storage-sqlite) | `storage` | [`storage`](../packages/storage/storage) |
|
|
1242
|
-
| [`subprocess
|
|
1260
|
+
| [`subprocess`](../packages/subprocess/subprocess) | `subprocess` | [`http-proxy`](../packages/util/http-proxy) |
|
|
1243
1261
|
| [`typert-loader`](../packages/typert/loader) | `typert` | [`typert-registry`](../packages/typert/registry) |
|
|
1244
1262
|
| [`session`](../packages/core/session) | `core` | [`scope`](../packages/core/scope) |
|
|
1245
1263
|
| [`system-prompt`](../packages/core/system-prompt) | `core` | [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope) |
|
|
1246
1264
|
| [`skill`](../packages/skill/skill) | `skill` | [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope) |
|
|
1247
|
-
| [`web-fetch-http`](../packages/web/web-fetch-http) | `web` | [`timeout`](../packages/util/timeout), [`web`](../packages/web/web) |
|
|
1265
|
+
| [`web-fetch-http`](../packages/web/web-fetch-http) | `web` | [`http-proxy`](../packages/util/http-proxy), [`timeout`](../packages/util/timeout), [`web`](../packages/web/web) |
|
|
1248
1266
|
| [`web-search-exa`](../packages/web/web-search-exa) | `web` | [`launch-environment`](../packages/util/launch-environment), [`web`](../packages/web/web) |
|
|
1249
1267
|
| [`web-search-perplexity`](../packages/web/web-search-perplexity) | `web` | [`launch-environment`](../packages/util/launch-environment), [`web`](../packages/web/web) |
|
|
1250
1268
|
| [`api-remotes`](../packages/api/remotes) | `api` | [`scope`](../packages/core/scope) |
|
|
1251
1269
|
| [`attachment-local`](../packages/attachment/attachment-local) | `attachment` | [`attachment`](../packages/attachment/attachment), [`home-paths`](../packages/util/home-paths) |
|
|
1270
|
+
| [`client-file-upload`](../packages/client/file-upload) | `client` | [`scope`](../packages/core/scope) |
|
|
1252
1271
|
| [`authorization`](../packages/credentials/authorization) | `credentials` | [`credentials`](../packages/credentials/credentials), [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm) |
|
|
1253
1272
|
| [`credentials-local`](../packages/credentials/credentials-local) | `credentials` | [`atomic-write`](../packages/util/atomic-write), [`credentials`](../packages/credentials/credentials), [`home-paths`](../packages/util/home-paths), [`launch-environment`](../packages/util/launch-environment) |
|
|
1273
|
+
| [`subprocess-e2b`](../packages/e2b/subprocess-e2b) | `e2b` | [`e2b`](../packages/e2b/e2b), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
|
1274
|
+
| [`subprocess-local`](../packages/subprocess/subprocess-local) | `subprocess` | [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
|
1254
1275
|
| [`skill-badge`](../packages/skill/skill-badge) | `skill` | [`skill`](../packages/skill/skill) |
|
|
1255
1276
|
| [`spill`](../packages/spill/spill) | `spill` | [`brand`](../packages/util/brand), [`llm`](../packages/llm/llm), [`session`](../packages/core/session) |
|
|
1256
1277
|
| [`app-boot`](../packages/boot/app-boot) | `boot` | [`home-paths`](../packages/util/home-paths), [`launch-environment`](../packages/util/launch-environment), [`system-prompt`](../packages/core/system-prompt) |
|
|
1257
1278
|
| [`code-runtime-worker-thread`](../packages/code-runtime/code-runtime-worker-thread) | `code-runtime` | [`code-runtime`](../packages/code-runtime/code-runtime), [`session`](../packages/core/session), [`timeout`](../packages/util/timeout) |
|
|
1258
1279
|
| [`persona`](../packages/preset/persona) | `preset` | [`system-prompt`](../packages/core/system-prompt) |
|
|
1259
1280
|
| [`sandbox`](../packages/sandbox/sandbox) | `sandbox` | [`llm`](../packages/llm/llm), [`session`](../packages/core/session) |
|
|
1281
|
+
| [`session-format-catalog`](../packages/session/session-format-catalog) | `session` | [`session`](../packages/core/session) |
|
|
1260
1282
|
| [`session-log-deepseek`](../packages/session/session-log-deepseek) | `session` | [`deepseek-llm-api-extensions`](../packages/llm/deepseek-llm-api-extensions), [`invariants`](../packages/runtime-diagnostics/invariants), [`session`](../packages/core/session) |
|
|
1261
1283
|
| [`session-persistence`](../packages/session/session-persistence) | `session` | [`brand`](../packages/util/brand), [`session`](../packages/core/session), [`timeout`](../packages/util/timeout) |
|
|
1262
1284
|
| [`session-projection`](../packages/session/session-projection) | `session` | [`session`](../packages/core/session) |
|
|
1263
1285
|
| [`settings`](../packages/settings/settings) | `settings` | [`brand`](../packages/util/brand), [`invariants`](../packages/runtime-diagnostics/invariants), [`session`](../packages/core/session) |
|
|
1264
|
-
| [`session-snapshot`](../packages/test-support/session-snapshot) | `test-support` | [`session`](../packages/core/session) |
|
|
1286
|
+
| [`session-snapshot`](../packages/test-support/session-snapshot) | `test-support` | [`http-proxy`](../packages/util/http-proxy), [`session`](../packages/core/session) |
|
|
1265
1287
|
| [`agent`](../packages/core/agent) | `core` | [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`session-projection`](../packages/session/session-projection), [`system-prompt`](../packages/core/system-prompt), [`typert-protocol`](../packages/typert/protocol) |
|
|
1266
1288
|
| [`fs`](../packages/fs/fs) | `fs` | [`brand`](../packages/util/brand), [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm), [`sandbox`](../packages/sandbox/sandbox) |
|
|
1267
1289
|
| [`spill-local`](../packages/spill/spill-local) | `spill` | [`spill`](../packages/spill/spill) |
|
|
1268
|
-
| [`session-log-export`](../packages/session-query/session-log-export) | `session-query` | [`session-persistence`](../packages/session/session-persistence) |
|
|
1290
|
+
| [`session-log-export`](../packages/session-query/session-log-export) | `session-query` | [`session`](../packages/core/session), [`session-persistence`](../packages/session/session-persistence) |
|
|
1269
1291
|
| [`message-feedback`](../packages/feedback/message-feedback) | `feedback` | [`brand`](../packages/util/brand), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`session-persistence`](../packages/session/session-persistence), [`storage-domain`](../packages/storage/storage-domain), [`typert-protocol`](../packages/typert/protocol) |
|
|
1270
1292
|
| [`sandbox-local`](../packages/sandbox/sandbox-local) | `sandbox` | [`llm`](../packages/llm/llm), [`sandbox`](../packages/sandbox/sandbox), [`session`](../packages/core/session) |
|
|
1271
1293
|
| [`session-persistence-jsonl`](../packages/session/session-persistence-jsonl) | `session` | [`session`](../packages/core/session), [`session-persistence`](../packages/session/session-persistence) |
|
|
@@ -1301,7 +1323,7 @@ flowchart TD
|
|
|
1301
1323
|
| [`bash-local`](../packages/shell/bash-local) | `shell` | [`settings`](../packages/settings/settings), [`shell`](../packages/shell/shell), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
|
1302
1324
|
| [`pwsh-local`](../packages/shell/pwsh-local) | `shell` | [`settings`](../packages/settings/settings), [`shell`](../packages/shell/shell), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
|
1303
1325
|
| [`terminal`](../packages/terminal/terminal) | `terminal` | [`agent`](../packages/core/agent), [`brand`](../packages/util/brand) |
|
|
1304
|
-
| [`loader-smoke`](../packages/test-support/loader-smoke) | `test-support` | [`agent`](../packages/core/agent), [`llm`](../packages/llm/llm), [`session`](../packages/core/session) |
|
|
1326
|
+
| [`loader-smoke`](../packages/test-support/loader-smoke) | `test-support` | [`agent`](../packages/core/agent), [`http-proxy`](../packages/util/http-proxy), [`llm`](../packages/llm/llm), [`session`](../packages/core/session) |
|
|
1305
1327
|
| [`workflow`](../packages/workflow/workflow) | `workflow` | [`agent`](../packages/core/agent), [`brand`](../packages/util/brand), [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm), [`session`](../packages/core/session) |
|
|
1306
1328
|
| [`tools`](../packages/core/tools) | `core` | [`agent`](../packages/core/agent), [`code-runtime`](../packages/code-runtime/code-runtime), [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`system-prompt`](../packages/core/system-prompt), [`user-approval`](../packages/interaction/user-approval) |
|
|
1307
1329
|
| [`command-goal`](../packages/goal/command-goal) | `goal` | [`commands`](../packages/interaction/commands), [`goal`](../packages/goal/goal), [`llm`](../packages/llm/llm) |
|
|
@@ -1376,7 +1398,7 @@ flowchart TD
|
|
|
1376
1398
|
| [`tool-subagent`](../packages/subagent/tool-subagent) | `subagent` | [`agent`](../packages/core/agent), [`invariants`](../packages/runtime-diagnostics/invariants), [`jobs`](../packages/jobs/jobs), [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`session-projection`](../packages/session/session-projection), [`settings`](../packages/settings/settings), [`subagent`](../packages/subagent/subagent), [`system-prompt`](../packages/core/system-prompt), [`tools`](../packages/core/tools) |
|
|
1377
1399
|
| [`tool-subagent-control`](../packages/subagent/tool-subagent-control) | `subagent` | [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent), [`tools`](../packages/core/tools) |
|
|
1378
1400
|
| [`hooks-claude-code`](../packages/hooks/hooks-claude-code) | `hooks` | [`agent`](../packages/core/agent), [`hook-protocol`](../packages/hooks/hook-protocol), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`session-projection`](../packages/session/session-projection), [`subagent`](../packages/subagent/subagent), [`tools`](../packages/core/tools) |
|
|
1379
|
-
| [`api-session-controller`](../packages/api/session-controller) | `api` | [`agent`](../packages/core/agent), [`agent-default-model`](../packages/core/agent-default-model), [`agent-presets`](../packages/preset/agent-presets), [`api-gateway`](../packages/api/gateway), [`attachment`](../packages/attachment/attachment), [`client-connection`](../packages/client/connection), [`file-reference`](../packages/context/file-reference), [`jobs`](../packages/jobs/jobs), [`llm`](../packages/llm/llm), [`native-command`](../packages/util/native-command), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`session-persistence`](../packages/session/session-persistence), [`session-projection`](../packages/session/session-projection), [`session-projection-cache`](../packages/session/session-projection-cache), [`session-query`](../packages/session-query/session-query), [`session-title`](../packages/session/session-title), [`skill`](../packages/skill/skill), [`subagent`](../packages/subagent/subagent), [`typert-protocol`](../packages/typert/protocol), [`typert-registry`](../packages/typert/registry), [`util-time`](../packages/util/time), [`util-workspace-path`](../packages/util/workspace-path), [`workspace`](../packages/workspace/workspace) |
|
|
1401
|
+
| [`api-session-controller`](../packages/api/session-controller) | `api` | [`agent`](../packages/core/agent), [`agent-default-model`](../packages/core/agent-default-model), [`agent-presets`](../packages/preset/agent-presets), [`api-gateway`](../packages/api/gateway), [`attachment`](../packages/attachment/attachment), [`client-connection`](../packages/client/connection), [`client-file-upload`](../packages/client/file-upload), [`commands`](../packages/interaction/commands), [`file-reference`](../packages/context/file-reference), [`jobs`](../packages/jobs/jobs), [`llm`](../packages/llm/llm), [`native-command`](../packages/util/native-command), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`session-persistence`](../packages/session/session-persistence), [`session-projection`](../packages/session/session-projection), [`session-projection-cache`](../packages/session/session-projection-cache), [`session-query`](../packages/session-query/session-query), [`session-title`](../packages/session/session-title), [`skill`](../packages/skill/skill), [`subagent`](../packages/subagent/subagent), [`typert-protocol`](../packages/typert/protocol), [`typert-registry`](../packages/typert/registry), [`util-time`](../packages/util/time), [`util-workspace-path`](../packages/util/workspace-path), [`workspace`](../packages/workspace/workspace) |
|
|
1380
1402
|
| [`experimental-agent-team`](../packages/experimental/agent-team) | `experimental` | [`agent`](../packages/core/agent), [`invariants`](../packages/runtime-diagnostics/invariants), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`session-persistence`](../packages/session/session-persistence), [`session-projection`](../packages/session/session-projection), [`subagent`](../packages/subagent/subagent), [`typert-protocol`](../packages/typert/protocol) |
|
|
1381
1403
|
| [`sdk-protocol`](../packages/sdk/protocol) | `sdk` | [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent) |
|
|
1382
1404
|
| [`tool-ralph`](../packages/workflow/tool-ralph) | `workflow` | [`agent`](../packages/core/agent), [`llm`](../packages/llm/llm), [`subagent`](../packages/subagent/subagent), [`system-prompt`](../packages/core/system-prompt), [`tools`](../packages/core/tools), [`workflow`](../packages/workflow/workflow) |
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write docs/persistence-catalog.md
|
|
5
|
-
persistence-catalog.md:
|
|
6
|
-
persistence-catalog.zh.md:
|
|
5
|
+
persistence-catalog.md: 0b52801083498542c814d06171942f33d013efe2
|
|
6
|
+
persistence-catalog.zh.md: eda29e00c9dfaff6c5d35afba55f2a8cfb95f075
|
|
@@ -7,7 +7,7 @@ Every event type that can appear in a session's durable event log: the complete
|
|
|
7
7
|
|
|
8
8
|
This file is GENERATED from source (`scripts/gen-persistence-catalog.ts`) and verified fresh by `pnpm run verify-persistence-catalog` (part of `doc-sync`) — do not edit it by hand. Declaration blocks retain the source declaration and nested property JSDoc, removing only the indentation imposed by a containing interface/module, and use a `ts persistence-catalog` fence (skipped by doc-typecheck because declarations reference types from their owning modules). Type names in a payload link to the page that documents them. See [the persistence-log-catalog Agent Note](../.agents/notes/archived/process/2026-07-04-persistence-log-catalog.md).
|
|
9
9
|
|
|
10
|
-
The envelope declarations below compose each event's `type`, monotonic `seq`, epoch-ms `time`, `data`, the optional `ignorable` unknown-type skip marker, and the conditional `surfaceOp`/`sourceEventSeqs` fields. **surface** marks a `SurfaceEventType` member: it produces an LLM message and declares how it joins the surface list. **log-only** marks everything else: a durable, replayable record with no derived-history contribution. Every payload is JSON-serializable (enforced at `Session.append`)
|
|
10
|
+
The envelope declarations below compose each event's `type`, monotonic `seq`, epoch-ms `time`, `data`, the optional `ignorable` unknown-type skip marker, and the conditional `surfaceOp`/`sourceEventSeqs` fields. **surface** marks a `SurfaceEventType` member: it produces an LLM message and declares how it joins the surface list. **log-only** marks everything else: a durable, replayable record with no derived-history contribution. Every payload is JSON-serializable (enforced at `Session.append`). Current writers stamp `SESSION_FORMAT_VERSION`; supported historical artifacts reach this current vocabulary through the build-static adjacent migration catalog ([the version lifecycle](subsystems/persistence.md)). Scope: the packages in this repo; a downstream plugin can merge further current-version event types, which are outside this catalog by construction and require an explicit disposition at a later format edge.
|
|
11
11
|
|
|
12
12
|
## Event envelope
|
|
13
13
|
|
|
@@ -18,7 +18,8 @@ export type SessionEventType = keyof SessionEventMap
|
|
|
18
18
|
/**
|
|
19
19
|
* The subset of {@link SessionEventType} values whose events produce LLM
|
|
20
20
|
* messages and are eligible to appear on the ordered surface. Only these
|
|
21
|
-
* event types may carry {@link SurfaceOp} and
|
|
21
|
+
* event types may carry {@link SurfaceOp}; user and tool events may also cite
|
|
22
|
+
* earlier sources through {@link SessionEvent.sourceEventSeqs}.
|
|
22
23
|
*/
|
|
23
24
|
export type SurfaceEventType =
|
|
24
25
|
| 'user/message'
|
|
@@ -51,7 +52,7 @@ export type SurfaceOp =
|
|
|
51
52
|
* The {@link sourceEventSeqs} and {@link surfaceOp} fields are conditional:
|
|
52
53
|
* they only exist on {@link SurfaceEventType} variants (`user/message`,
|
|
53
54
|
* `assistant/message`, `tool/result`).
|
|
54
|
-
* Non-surface events (boundary markers,
|
|
55
|
+
* Non-surface events (boundary markers, attempts, errors) never carry
|
|
55
56
|
* surface metadata — the compiler enforces this at `Session.append()`
|
|
56
57
|
* call sites.
|
|
57
58
|
*/
|
|
@@ -76,12 +77,9 @@ export type SessionEvent<T extends SessionEventType = SessionEventType> = {
|
|
|
76
77
|
ignorable?: true
|
|
77
78
|
} & (K extends SurfaceEventType ? {
|
|
78
79
|
/**
|
|
79
|
-
* Seq numbers of earlier events that this event cites as sources
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* `assistant/message` may carry a present empty array for a known empty
|
|
83
|
-
* provider stream; when the field is absent, the event does not record which
|
|
84
|
-
* earlier events produced the message.
|
|
80
|
+
* Seq numbers of earlier events that this event cites as sources, such as
|
|
81
|
+
* the surface nodes shadowed by a compaction replacement. A v2
|
|
82
|
+
* `assistant/message` embeds its provider stream and cannot carry this field.
|
|
85
83
|
*/
|
|
86
84
|
sourceEventSeqs?: SessionSeq[]
|
|
87
85
|
/** How this event entered the surface; absent for non-surface events. */
|
|
@@ -90,7 +88,7 @@ export type SessionEvent<T extends SessionEventType = SessionEventType> = {
|
|
|
90
88
|
}[T]
|
|
91
89
|
```
|
|
92
90
|
|
|
93
|
-
Sources: [`packages/core/session/src/types.ts:
|
|
91
|
+
Sources: [`packages/core/session/src/types.ts:379`](../packages/core/session/src/types.ts) · [`packages/core/session/src/types.ts:387`](../packages/core/session/src/types.ts) · [`packages/core/session/src/types.ts:416`](../packages/core/session/src/types.ts) · [`packages/core/session/src/types.ts:447`](../packages/core/session/src/types.ts)
|
|
94
92
|
|
|
95
93
|
## Events
|
|
96
94
|
|
|
@@ -204,18 +202,20 @@ Source: [`packages/interaction/user-approval/src/index.ts:33`](../packages/inter
|
|
|
204
202
|
|
|
205
203
|
### `assistant/*`
|
|
206
204
|
|
|
207
|
-
<a id="
|
|
205
|
+
<a id="assistantattempt--log-only"></a>
|
|
208
206
|
|
|
209
|
-
#### `assistant/
|
|
207
|
+
#### `assistant/attempt` — log-only
|
|
210
208
|
|
|
211
209
|
```ts persistence-catalog
|
|
212
|
-
/**
|
|
213
|
-
|
|
210
|
+
/**
|
|
211
|
+
* One model attempt that committed no surface message. The embedded stream
|
|
212
|
+
* preserves a failed, retried, cancelled, or stream-error attempt that
|
|
213
|
+
* reached settlement without fabricating model-visible history.
|
|
214
|
+
*/
|
|
215
|
+
'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[] }
|
|
214
216
|
```
|
|
215
217
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
Source: [`packages/core/session/src/types.ts:291`](../packages/core/session/src/types.ts)
|
|
218
|
+
Source: [`packages/core/session/src/types.ts:313`](../packages/core/session/src/types.ts)
|
|
219
219
|
|
|
220
220
|
<a id="assistantmessage--surface"></a>
|
|
221
221
|
|
|
@@ -232,12 +232,20 @@ Source: [`packages/core/session/src/types.ts:291`](../packages/core/session/src/
|
|
|
232
232
|
* marker distinguishes that prefix without re-deriving interruption from turn
|
|
233
233
|
* boundaries. An aborted turn with no such event streamed no visible content.
|
|
234
234
|
*/
|
|
235
|
-
'assistant/message': {
|
|
235
|
+
'assistant/message': {
|
|
236
|
+
turn: number
|
|
237
|
+
step: number
|
|
238
|
+
message: AssistantMessage
|
|
239
|
+
/** Exact timed model stream, compacted without joining delta boundaries. */
|
|
240
|
+
stream: AssistantStreamRecord[]
|
|
241
|
+
usage?: TokenUsage
|
|
242
|
+
interrupted?: true
|
|
243
|
+
}
|
|
236
244
|
```
|
|
237
245
|
|
|
238
246
|
Types: [TokenUsage](subsystems/llm-streaming.md)
|
|
239
247
|
|
|
240
|
-
Source: [`packages/core/session/src/types.ts:
|
|
248
|
+
Source: [`packages/core/session/src/types.ts:299`](../packages/core/session/src/types.ts)
|
|
241
249
|
|
|
242
250
|
### `command/*`
|
|
243
251
|
|
|
@@ -260,7 +268,7 @@ Source: [`packages/core/session/src/types.ts:302`](../packages/core/session/src/
|
|
|
260
268
|
}
|
|
261
269
|
```
|
|
262
270
|
|
|
263
|
-
Source: [`packages/interaction/commands/src/types.ts:
|
|
271
|
+
Source: [`packages/interaction/commands/src/types.ts:110`](../packages/interaction/commands/src/types.ts)
|
|
264
272
|
|
|
265
273
|
<a id="commandrun--log-only"></a>
|
|
266
274
|
|
|
@@ -280,7 +288,7 @@ Source: [`packages/interaction/commands/src/types.ts:104`](../packages/interacti
|
|
|
280
288
|
'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource }
|
|
281
289
|
```
|
|
282
290
|
|
|
283
|
-
Source: [`packages/interaction/commands/src/types.ts:
|
|
291
|
+
Source: [`packages/interaction/commands/src/types.ts:103`](../packages/interaction/commands/src/types.ts)
|
|
284
292
|
|
|
285
293
|
### `compaction/*`
|
|
286
294
|
|
|
@@ -512,7 +520,7 @@ Source: [`packages/llm/llm-retry/src/types.ts:11`](../packages/llm/llm-retry/src
|
|
|
512
520
|
'model/selection': ModelSelection
|
|
513
521
|
```
|
|
514
522
|
|
|
515
|
-
Source: [`packages/api/session-controller/src/types.ts:
|
|
523
|
+
Source: [`packages/api/session-controller/src/types.ts:40`](../packages/api/session-controller/src/types.ts)
|
|
516
524
|
|
|
517
525
|
### `permission/*`
|
|
518
526
|
|
|
@@ -563,7 +571,7 @@ Source: [`packages/plan/plan-mode/src/index.ts:46`](../packages/plan/plan-mode/s
|
|
|
563
571
|
'request/context': RequestContext
|
|
564
572
|
```
|
|
565
573
|
|
|
566
|
-
Source: [`packages/core/session/src/types.ts:
|
|
574
|
+
Source: [`packages/core/session/src/types.ts:352`](../packages/core/session/src/types.ts)
|
|
567
575
|
|
|
568
576
|
<a id="requestheader--log-only"></a>
|
|
569
577
|
|
|
@@ -582,7 +590,7 @@ Source: [`packages/core/session/src/types.ts:341`](../packages/core/session/src/
|
|
|
582
590
|
}
|
|
583
591
|
```
|
|
584
592
|
|
|
585
|
-
Source: [`packages/core/session/src/types.ts:
|
|
593
|
+
Source: [`packages/core/session/src/types.ts:342`](../packages/core/session/src/types.ts)
|
|
586
594
|
|
|
587
595
|
### `sandbox/*`
|
|
588
596
|
|
|
@@ -636,12 +644,12 @@ Source: [`packages/schedule/schedule/src/types.ts:219`](../packages/schedule/sch
|
|
|
636
644
|
* Marks the end of a constructor seed. Events before it have smaller seq
|
|
637
645
|
* values and came from the seed (resume, fork, or replay); this lifecycle
|
|
638
646
|
* produced none of them. This log-only event is the durable projection of
|
|
639
|
-
* {@link Session.firstLiveSeq}.
|
|
640
|
-
* carry the meaning.
|
|
647
|
+
* {@link Session.firstLiveSeq}.
|
|
641
648
|
*
|
|
642
|
-
*
|
|
643
|
-
*
|
|
644
|
-
*
|
|
649
|
+
* A fresh fork child owns one `{ inherited: true }` marker at its exact
|
|
650
|
+
* inherited-prefix cut, even when that prefix ends in an ancestor marker.
|
|
651
|
+
* The last tagged marker is the current Session's cut; untagged markers keep
|
|
652
|
+
* ordinary restore and replay lifecycle boundaries.
|
|
645
653
|
*
|
|
646
654
|
* `Session`'s constructor is the only legitimate writer. The invariant
|
|
647
655
|
* companion deliberately constrains nothing here, so a plugin appending one
|
|
@@ -654,10 +662,10 @@ Source: [`packages/schedule/schedule/src/types.ts:219`](../packages/schedule/sch
|
|
|
654
662
|
* writers — a concurrently live session holds its own boundary elsewhere,
|
|
655
663
|
* so tolerating concurrent writers needs a signal beyond the log.
|
|
656
664
|
*/
|
|
657
|
-
'session/end-seed':
|
|
665
|
+
'session/end-seed': { inherited?: true }
|
|
658
666
|
```
|
|
659
667
|
|
|
660
|
-
Source: [`packages/core/session/src/types.ts:
|
|
668
|
+
Source: [`packages/core/session/src/types.ts:375`](../packages/core/session/src/types.ts)
|
|
661
669
|
|
|
662
670
|
<a id="sessiontitle--log-only"></a>
|
|
663
671
|
|
|
@@ -699,12 +707,14 @@ Source: [`packages/session/session-title-llm/src/index.ts:45`](../packages/sessi
|
|
|
699
707
|
'session-log-deepseek/delivery-accepted': {
|
|
700
708
|
/** Session identity the accepted delivery carried; inherited fork markers retain the parent's id. */
|
|
701
709
|
sessionId: import('@deepseek-ai/dsh-session/types').SessionId
|
|
710
|
+
/** Accepted Session format generation; absence identifies version 0. */
|
|
711
|
+
sessionFormatVersion?: number
|
|
702
712
|
/** Last canonical event included in the accepted request. */
|
|
703
713
|
throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq
|
|
704
714
|
}
|
|
705
715
|
```
|
|
706
716
|
|
|
707
|
-
Source: [`packages/session/session-log-deepseek/src/types.ts:
|
|
717
|
+
Source: [`packages/session/session-log-deepseek/src/types.ts:59`](../packages/session/session-log-deepseek/src/types.ts)
|
|
708
718
|
|
|
709
719
|
### `step/*`
|
|
710
720
|
|
|
@@ -717,7 +727,7 @@ Source: [`packages/session/session-log-deepseek/src/types.ts:57`](../packages/se
|
|
|
717
727
|
'step/end': { turn: number; step: number }
|
|
718
728
|
```
|
|
719
729
|
|
|
720
|
-
Source: [`packages/core/session/src/types.ts:
|
|
730
|
+
Source: [`packages/core/session/src/types.ts:280`](../packages/core/session/src/types.ts)
|
|
721
731
|
|
|
722
732
|
<a id="stepstart--log-only"></a>
|
|
723
733
|
|
|
@@ -728,7 +738,7 @@ Source: [`packages/core/session/src/types.ts:281`](../packages/core/session/src/
|
|
|
728
738
|
'step/start': { turn: number; step: number }
|
|
729
739
|
```
|
|
730
740
|
|
|
731
|
-
Source: [`packages/core/session/src/types.ts:
|
|
741
|
+
Source: [`packages/core/session/src/types.ts:278`](../packages/core/session/src/types.ts)
|
|
732
742
|
|
|
733
743
|
### `subagent/*`
|
|
734
744
|
|
|
@@ -859,7 +869,7 @@ Source: [`packages/todo/tool-todo/src/types.ts:31`](../packages/todo/tool-todo/s
|
|
|
859
869
|
|
|
860
870
|
Types: [ToolCallId](subsystems/core.md)
|
|
861
871
|
|
|
862
|
-
Source: [`packages/core/session/src/types.ts:
|
|
872
|
+
Source: [`packages/core/session/src/types.ts:319`](../packages/core/session/src/types.ts)
|
|
863
873
|
|
|
864
874
|
<a id="toolcode-dispatch--log-only"></a>
|
|
865
875
|
|
|
@@ -934,7 +944,7 @@ Source: [`packages/core/tools/src/types.ts:40`](../packages/core/tools/src/types
|
|
|
934
944
|
}
|
|
935
945
|
```
|
|
936
946
|
|
|
937
|
-
Source: [`packages/core/session/src/types.ts:
|
|
947
|
+
Source: [`packages/core/session/src/types.ts:331`](../packages/core/session/src/types.ts)
|
|
938
948
|
|
|
939
949
|
### `tool-workflow/*`
|
|
940
950
|
|
|
@@ -1014,7 +1024,7 @@ Source: [`packages/workflow/tool-workflow/src/types.ts:47`](../packages/workflow
|
|
|
1014
1024
|
|
|
1015
1025
|
Types: [TurnEndReason](subsystems/session.md)
|
|
1016
1026
|
|
|
1017
|
-
Source: [`packages/core/session/src/types.ts:
|
|
1027
|
+
Source: [`packages/core/session/src/types.ts:276`](../packages/core/session/src/types.ts)
|
|
1018
1028
|
|
|
1019
1029
|
<a id="turnstart--log-only"></a>
|
|
1020
1030
|
|
|
@@ -1030,7 +1040,7 @@ Source: [`packages/core/session/src/types.ts:277`](../packages/core/session/src/
|
|
|
1030
1040
|
'turn/start': { turn: number }
|
|
1031
1041
|
```
|
|
1032
1042
|
|
|
1033
|
-
Source: [`packages/core/session/src/types.ts:
|
|
1043
|
+
Source: [`packages/core/session/src/types.ts:267`](../packages/core/session/src/types.ts)
|
|
1034
1044
|
|
|
1035
1045
|
### `user/*`
|
|
1036
1046
|
|
|
@@ -1049,7 +1059,7 @@ Source: [`packages/core/session/src/types.ts:268`](../packages/core/session/src/
|
|
|
1049
1059
|
'user/message': UserMessage
|
|
1050
1060
|
```
|
|
1051
1061
|
|
|
1052
|
-
Source: [`packages/core/session/src/types.ts:
|
|
1062
|
+
Source: [`packages/core/session/src/types.ts:288`](../packages/core/session/src/types.ts)
|
|
1053
1063
|
|
|
1054
1064
|
### `web/*`
|
|
1055
1065
|
|