deepline 0.2.52 → 0.2.54

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.
Files changed (46) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +17 -1
  2. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +43 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +30 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/cell-provenance.ts +231 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +1094 -128
  8. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +178 -9
  9. package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +634 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/docflow-observation.ts +64 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/dynamic-worker-version.ts +1 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +18 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/live-state-contract.ts +33 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/log-provenance.ts +251 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/play-node-scope.ts +160 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +27 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +43 -5
  19. package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +12 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +26 -4
  21. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +6 -1
  22. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +83 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +3 -0
  24. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +49 -1
  25. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +375 -29
  26. package/dist/bundling-sources/shared_libs/plays/docflow-binding-owner.ts +636 -0
  27. package/dist/bundling-sources/shared_libs/plays/docflow-binding.ts +598 -0
  28. package/dist/bundling-sources/shared_libs/plays/docflow.ts +1645 -0
  29. package/dist/bundling-sources/shared_libs/plays/play-exports.ts +202 -0
  30. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +16 -1
  31. package/dist/bundling-sources/shared_libs/plays/ts-ast.ts +48 -0
  32. package/dist/cli/index.js +1031 -313
  33. package/dist/cli/index.mjs +1031 -313
  34. package/dist/{compiler-manifest-Cj3--4ZJ.d.mts → compiler-manifest-Bl8kmLx9.d.mts} +118 -0
  35. package/dist/{compiler-manifest-Cj3--4ZJ.d.ts → compiler-manifest-Bl8kmLx9.d.ts} +118 -0
  36. package/dist/index.d.mts +47 -2
  37. package/dist/index.d.ts +47 -2
  38. package/dist/index.js +419 -59
  39. package/dist/index.mjs +419 -59
  40. package/dist/install-integrity.json +12 -2
  41. package/dist/plays/bundle-play-file.d.mts +2 -2
  42. package/dist/plays/bundle-play-file.d.ts +2 -2
  43. package/dist/plays/bundle-play-file.mjs +1361 -45
  44. package/dist/viewer/viewer.css +57 -2
  45. package/dist/viewer/viewer.js +548 -46
  46. package/package.json +1 -1
@@ -341,10 +341,11 @@ body {
341
341
  min-width: 70px;
342
342
  }
343
343
  .tool-name.bash { color: var(--blue); }
344
- .tool-name.read, .tool-name.write, .tool-name.edit { color: var(--purple); }
344
+ .tool-name.read, .tool-name.write, .tool-name.edit, .tool-name.delete { color: var(--purple); }
345
345
  .tool-name.skill, .tool-name.task { color: var(--orange); }
346
- .tool-name.grep, .tool-name.glob { color: var(--cyan); }
346
+ .tool-name.grep, .tool-name.glob, .tool-name.toolsearch { color: var(--cyan); }
347
347
  .tool-name.webfetch, .tool-name.websearch { color: var(--yellow); }
348
+ .tool-name.wait, .tool-name.stdin { color: var(--text-dim); }
348
349
  .tool-cmd {
349
350
  color: var(--text-dim);
350
351
  overflow: hidden;
@@ -881,6 +882,14 @@ body {
881
882
  .expectation-result.pass { color: var(--green); }
882
883
  .expectation-result.fail { color: var(--red); }
883
884
  .expectation-result.unknown { color: var(--yellow); }
885
+ .expectation-failure-reason {
886
+ margin-top: 5px;
887
+ color: color-mix(in srgb, var(--red) 80%, var(--text-dim));
888
+ font-size: 10px;
889
+ font-weight: 400;
890
+ line-height: 1.4;
891
+ overflow-wrap: anywhere;
892
+ }
884
893
  .infra-signals {
885
894
  margin-top: 10px;
886
895
  border: 1px solid color-mix(in srgb, var(--red) 45%, var(--viewer-border));
@@ -899,6 +908,52 @@ body {
899
908
  .lane-prompt, .lane-result { border-bottom: 1px solid var(--viewer-border); }
900
909
  .lane-prompt summary, .lane-result summary { cursor: pointer; padding: 8px 13px; color: var(--text-dim); font-size: 11px; font-weight: 650; }
901
910
  .lane-prompt .prompt-text, .lane-result .md-rendered { padding: 0 13px 12px; font-size: 12px; }
911
+
912
+ .final-artifacts {
913
+ margin: 18px 0 4px;
914
+ border: 1px solid var(--viewer-border);
915
+ border-radius: 8px;
916
+ background: var(--bg-secondary);
917
+ overflow: hidden;
918
+ }
919
+ .final-artifacts-heading {
920
+ padding: 12px 14px;
921
+ border-bottom: 1px solid var(--viewer-border);
922
+ background: var(--bg-tertiary);
923
+ }
924
+ .final-artifacts-heading > div { display: flex; align-items: center; gap: 8px; }
925
+ .final-artifacts-heading span { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
926
+ .final-artifacts-heading strong { color: var(--viewer-primary); font-size: 12px; }
927
+ .final-artifacts-heading p { margin: 4px 0 0; color: var(--text-dim); font-size: 11px; }
928
+ .final-artifact-file { border-bottom: 1px solid var(--viewer-border); }
929
+ .final-artifact-file:last-child { border-bottom: 0; }
930
+ .final-artifact-file summary {
931
+ display: flex;
932
+ justify-content: space-between;
933
+ gap: 16px;
934
+ cursor: pointer;
935
+ padding: 10px 14px;
936
+ color: var(--text);
937
+ font-size: 12px;
938
+ }
939
+ .final-artifact-file summary span { color: var(--text-dim); font-weight: 400; }
940
+ .final-artifact-meta { padding: 0 14px 9px; color: var(--text-dim); font-size: 10px; }
941
+ .final-artifact-meta code { color: var(--text-dim); overflow-wrap: anywhere; }
942
+ .final-artifact-meta span { margin-left: 10px; color: var(--viewer-primary); }
943
+ .final-artifact-file pre {
944
+ max-height: 560px;
945
+ overflow: auto;
946
+ margin: 0;
947
+ padding: 13px 14px;
948
+ border-top: 1px solid var(--viewer-border);
949
+ background: var(--bg);
950
+ color: var(--text);
951
+ white-space: pre;
952
+ font-size: 11px;
953
+ line-height: 1.5;
954
+ }
955
+ .final-artifact-omitted { padding: 0 14px 12px; color: var(--text-dim); font-size: 11px; }
956
+ .lane-session .final-artifacts { margin: 0; border-width: 1px 0 0; border-radius: 0; }
902
957
  .lane-timeline { padding: 10px 7px 16px; }
903
958
  .lane-timeline .tool-row { gap: 8px; padding-left: 5px; padding-right: 5px; font-size: 11px; }
904
959
  .lane-timeline .tool-name { min-width: 58px; }