dsh-openwrite 0.2.27 → 0.2.33
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/LICENSE +1 -1
- package/README.md +55 -6
- package/THIRD_PARTY_NOTICES.md +4 -3
- package/companions.mjs +508 -0
- package/cordis.patch.yml +0 -2
- package/docs/CLOSED_ISSUE_FOLLOWUPS.md +5 -3
- package/docs/COMPANION_PLUGINS.md +142 -0
- package/docs/CONTEXT_SLOTS.md +60 -0
- package/docs/COST_MEASUREMENT.md +2 -2
- package/docs/DEVELOPMENT.md +6 -11
- package/docs/DSH_STORE.md +14 -2
- package/docs/EDITOR_SAFETY_REPAIRS.md +17 -0
- package/docs/INSTALL.md +112 -4
- package/docs/ISSUES_121_123.md +97 -0
- package/docs/ISSUES_140_142.md +58 -0
- package/docs/ISSUES_149_150_151.md +77 -0
- package/docs/ISSUES_98_100.md +2 -0
- package/docs/ISSUE_123_FOLLOWUP.md +55 -0
- package/docs/ISSUE_146_REVIEW_EVIDENCE.md +53 -0
- package/docs/LEARNING.md +1 -1
- package/docs/MOBILE_READINESS.md +62 -0
- package/docs/PLUGIN_MAINTENANCE.md +1 -3
- package/docs/RELEASE_ACCEPTANCE.md +90 -3
- package/docs/REVIEW_ROUND_22.md +67 -0
- package/docs/REVIEW_ROUND_23.md +48 -0
- package/docs/REVIEW_ROUND_25.md +51 -0
- package/docs/SELECTION_UPGRADE_REPAIRS.md +16 -0
- package/docs/TOOLS.md +933 -0
- package/docs/WORKFLOWS.md +5 -5
- package/package.json +18 -21
- package/packages/openwrite-bridge/lib/client.d.ts +0 -1
- package/packages/openwrite-bridge/lib/client.js +90 -9
- package/packages/openwrite-bridge/lib/contracts-generated.js +2 -1
- package/packages/openwrite-bridge/lib/dog-delivery.d.ts +1 -0
- package/packages/openwrite-bridge/lib/dog-delivery.js +10 -4
- package/packages/openwrite-bridge/lib/dog-review.js +15 -3
- package/packages/openwrite-bridge/lib/domain.d.ts +27 -0
- package/packages/openwrite-bridge/lib/domain.js +250 -29
- package/packages/openwrite-bridge/lib/host-llm.d.ts +188 -0
- package/packages/openwrite-bridge/lib/host-llm.js +657 -0
- package/packages/openwrite-bridge/lib/host-web.d.ts +61 -0
- package/packages/openwrite-bridge/lib/host-web.js +166 -0
- package/packages/openwrite-bridge/lib/index.d.ts +4 -0
- package/packages/openwrite-bridge/lib/index.js +150 -6
- package/packages/openwrite-bridge/lib/managed-runtime.d.ts +47 -2
- package/packages/openwrite-bridge/lib/managed-runtime.js +179 -35
- package/packages/openwrite-bridge/lib/tool-policy.js +39 -12
- package/packages/openwrite-bridge/lib/tools.js +1238 -1219
- package/packages/openwrite-bridge/package.json +7 -5
- package/packages/studio-panel/lib/client.js +116667 -114773
- package/packages/studio-panel/lib/client.js.map +1 -1
- package/packages/studio-panel/lib/types/client/LaunchOpenWrite.d.ts +10 -0
- package/packages/studio-panel/lib/types/client/ModelView.d.ts +28 -4
- package/packages/studio-panel/lib/types/client/OpenWriteSettings.d.ts +64 -0
- package/packages/studio-panel/lib/types/client/SceneWorkbench.d.ts +2 -0
- package/packages/studio-panel/lib/types/client/SearchSettings.d.ts +2 -0
- package/packages/studio-panel/lib/types/client/SerialWritingView.d.ts +2 -1
- package/packages/studio-panel/lib/types/client/TurnMutationSummary.d.ts +2 -0
- package/packages/studio-panel/lib/types/client/VditorBody.d.ts +8 -2
- package/packages/studio-panel/lib/types/client/api.d.ts +41 -2
- package/packages/studio-panel/lib/types/client/browser-download.d.ts +4 -0
- package/packages/studio-panel/lib/types/client/companions.d.ts +46 -0
- package/packages/studio-panel/lib/types/client/dto.d.ts +22 -0
- package/packages/studio-panel/lib/types/client/locales.d.ts +1 -1
- package/packages/studio-panel/lib/types/client/manuscript-annotations.d.ts +2 -1
- package/packages/studio-panel/lib/types/client/manuscript-overlay.d.ts +2 -1
- package/packages/studio-panel/lib/types/client/manuscript-selection.d.ts +18 -5
- package/packages/studio-panel/lib/types/client/selection-coordinates.d.ts +15 -0
- package/packages/studio-panel/lib/types/client/workspace-chrome.d.ts +41 -0
- package/packages/studio-panel/package.json +5 -3
- package/plugin.mjs +159 -20
- package/preset-definition.mjs +144 -4
- package/presets/openwrite/agent.cordis.yml +7 -9
- package/presets/openwrite/ops-integration.mjs +28 -0
- package/presets/openwrite/preset.yml +2 -1
- package/presets/openwrite/skills/canon/SKILL.md +3 -3
- package/presets/openwrite/skills/delivery-artifact-query/SKILL.md +41 -0
- package/presets/openwrite/skills/dialoguequality/SKILL.md +16 -17
- package/presets/openwrite/skills/dog-delivery-verification/SKILL.md +113 -0
- package/presets/openwrite/skills/export-book/SKILL.md +3 -3
- package/presets/openwrite/skills/foreshadow/SKILL.md +1 -1
- package/presets/openwrite/skills/foreshadowing-system/SKILL.md +16 -25
- package/presets/openwrite/skills/import-artifact-query/SKILL.md +30 -0
- package/presets/openwrite/skills/learn/SKILL.md +3 -3
- package/presets/openwrite/skills/novel-creator/SKILL.md +10 -10
- package/presets/openwrite/skills/novel-reviewer/SKILL.md +11 -11
- package/presets/openwrite/skills/progress/SKILL.md +1 -1
- package/presets/openwrite/skills/review-artifact-query/SKILL.md +41 -0
- package/presets/openwrite/skills/review-chapter/SKILL.md +2 -2
- package/presets/openwrite/skills/revise-span/SKILL.md +5 -5
- package/presets/openwrite/skills/style-system/SKILL.md +13 -6
- package/presets/openwrite/skills/truth-validation/SKILL.md +9 -12
- package/presets/openwrite/skills/workflow-manager/SKILL.md +13 -13
- package/presets/openwrite/skills/world-query/SKILL.md +16 -11
- package/presets/openwrite/skills/write-next/SKILL.md +1 -1
- package/release/{openwrite-5.8.16-py3-none-any.whl → openwrite-5.8.30-py3-none-any.whl} +0 -0
- package/release/runtime-manifest.json +4 -12
- package/release/source.json +21 -21
- package/release/wheels/licenses/OPENSSL-3.6.3-LICENSE.txt +225 -0
- package/scripts/maintenance.mjs +67 -7
- package/scripts/plugin-doctor.mjs +179 -0
- package/scripts/prepare.mjs +11 -2
- package/scripts/safe-upgrade.mjs +141 -13
- package/dog-tools.mjs +0 -11
- package/presets/openwrite/skills/dog-delivery-query/SKILL.md +0 -42
- package/presets/openwrite/skills/dog-import-query/SKILL.md +0 -29
- package/presets/openwrite/skills/dog-review-query/SKILL.md +0 -42
- package/scripts/dog/delivery-stage.js +0 -32
- package/scripts/dog/import-chapter.js +0 -20
- package/scripts/dog/import-record.js +0 -35
- package/scripts/dog/review-dimension.js +0 -41
- package/scripts/dog/review-record.js +0 -42
- package/vendor/dsh-dog/LICENSE +0 -29
- package/vendor/dsh-dog/README.md +0 -114
- package/vendor/dsh-dog/UPSTREAM.md +0 -30
- package/vendor/dsh-dog/cordis.patch.yml +0 -14
- package/vendor/dsh-dog/lib/client.js +0 -2960
- package/vendor/dsh-dog/lib/client.js.map +0 -1
- package/vendor/dsh-dog/lib/core-BAlgZpLq.js +0 -2074
- package/vendor/dsh-dog/lib/core-BiEBMLz3.d.ts +0 -495
- package/vendor/dsh-dog/lib/core.d.ts +0 -2
- package/vendor/dsh-dog/lib/core.js +0 -2
- package/vendor/dsh-dog/lib/index.d.ts +0 -143
- package/vendor/dsh-dog/lib/index.js +0 -1279
- package/vendor/dsh-dog/package.json +0 -110
- package/vendor/dsh-dog/schemas/schema-0.2/graph.schema.json +0 -139
- package/vendor/dsh-dog/schemas/schema-0.2/report.schema.json +0 -87
- package/vendor/dsh-dog/schemas/schema-0.2/run.schema.json +0 -259
- package/vendor/dsh-dog/schemas/schema-0.2/runtime-event.schema.json +0 -105
- package/vendor/dsh-dog/schemas/schema-0.2/verification.schema.json +0 -40
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/dsh-external/dsh-dog/schemas/schema-0.2/runtime-event.schema.json",
|
|
4
|
-
"title": "DoG v0.2 runtime event (runtime-events/<run-id>-<goal-id>.jsonl)",
|
|
5
|
-
"description": "Append-only bounded diagnostic activity; one JSON object per line. Never verifier evidence. Machine-readable counterpart of SPEC §8 + §11.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": [
|
|
9
|
-
"runId",
|
|
10
|
-
"goalId",
|
|
11
|
-
"phase",
|
|
12
|
-
"state",
|
|
13
|
-
"at"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"runId": {
|
|
17
|
-
"$ref": "#/$defs/uuid"
|
|
18
|
-
},
|
|
19
|
-
"goalId": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"minLength": 1
|
|
22
|
-
},
|
|
23
|
-
"phase": {
|
|
24
|
-
"description": "Operational stage of the goal in this run.",
|
|
25
|
-
"enum": [
|
|
26
|
-
"goal_started",
|
|
27
|
-
"dependency_blocked",
|
|
28
|
-
"grounding_extracted",
|
|
29
|
-
"workspace_allocated",
|
|
30
|
-
"verifier_started",
|
|
31
|
-
"verifier_passed",
|
|
32
|
-
"verifier_failed",
|
|
33
|
-
"verifier_inconclusive",
|
|
34
|
-
"composite_evaluated",
|
|
35
|
-
"result_inherited",
|
|
36
|
-
"structured_error",
|
|
37
|
-
"goal_settled",
|
|
38
|
-
"run_warning",
|
|
39
|
-
"verifier_released",
|
|
40
|
-
"verifier_bind_failed"
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
"state": {
|
|
44
|
-
"description": "Goal state at the moment of the event.",
|
|
45
|
-
"enum": [
|
|
46
|
-
"pending",
|
|
47
|
-
"running",
|
|
48
|
-
"success",
|
|
49
|
-
"failure",
|
|
50
|
-
"blocked",
|
|
51
|
-
"needs_human",
|
|
52
|
-
"cancelled",
|
|
53
|
-
"invalidated",
|
|
54
|
-
"partial",
|
|
55
|
-
"inherited"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"verifier": {
|
|
59
|
-
"type": "object",
|
|
60
|
-
"additionalProperties": false,
|
|
61
|
-
"required": [
|
|
62
|
-
"mode"
|
|
63
|
-
],
|
|
64
|
-
"properties": {
|
|
65
|
-
"mode": {
|
|
66
|
-
"enum": [
|
|
67
|
-
"programmatic",
|
|
68
|
-
"agentic"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"attempt": {
|
|
74
|
-
"type": "integer",
|
|
75
|
-
"minimum": 1
|
|
76
|
-
},
|
|
77
|
-
"durationMs": {
|
|
78
|
-
"type": "integer",
|
|
79
|
-
"minimum": 0
|
|
80
|
-
},
|
|
81
|
-
"reason": {
|
|
82
|
-
"type": "string"
|
|
83
|
-
},
|
|
84
|
-
"errorCategory": {
|
|
85
|
-
"type": "string"
|
|
86
|
-
},
|
|
87
|
-
"gmDigest": {
|
|
88
|
-
"$ref": "#/$defs/sha256"
|
|
89
|
-
},
|
|
90
|
-
"at": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"format": "date-time"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"$defs": {
|
|
96
|
-
"uuid": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
99
|
-
},
|
|
100
|
-
"sha256": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"pattern": "^([0-9a-f]{64}|sha256:[0-9a-f]{64})$"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/dsh-external/dsh-dog/schemas/schema-0.9/verification.schema.json",
|
|
4
|
-
"title": "DoG v0.9 trusted verification record",
|
|
5
|
-
"description": "One judgment outcome. Machine-readable counterpart of SPEC §6 + §8.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": ["schemaVersion", "runId", "graphId", "graphDigest", "goalId", "judgment", "passed", "at"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"schemaVersion": { "const": "0.1" },
|
|
11
|
-
"runId": { "$ref": "#/$defs/uuid" },
|
|
12
|
-
"graphId": { "type": "string", "minLength": 1 },
|
|
13
|
-
"graphDigest": { "$ref": "#/$defs/sha256" },
|
|
14
|
-
"goalId": { "type": "string", "minLength": 1 },
|
|
15
|
-
"judgment": {
|
|
16
|
-
"description": "Identity of the judgment source (script+digest, or instruction hash).",
|
|
17
|
-
"type": "object",
|
|
18
|
-
"additionalProperties": false,
|
|
19
|
-
"required": ["mode"],
|
|
20
|
-
"properties": {
|
|
21
|
-
"mode": { "enum": ["programmatic", "agentic"] },
|
|
22
|
-
"script": { "type": "string" },
|
|
23
|
-
"scriptDigest": { "type": "string" },
|
|
24
|
-
"instructionHash": { "type": "string" }
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"gmDigest": { "type": "string" },
|
|
28
|
-
"passed": { "type": ["boolean", "null"] },
|
|
29
|
-
"evidence": {
|
|
30
|
-
"description": "Free-form JSON evidence; shape is decided by the judge.",
|
|
31
|
-
"type": ["object", "array", "string", "number", "boolean", "null"]
|
|
32
|
-
},
|
|
33
|
-
"at": { "$ref": "#/$defs/iso8601" }
|
|
34
|
-
},
|
|
35
|
-
"$defs": {
|
|
36
|
-
"uuid": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" },
|
|
37
|
-
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
38
|
-
"iso8601": { "type": "string", "format": "date-time" }
|
|
39
|
-
}
|
|
40
|
-
}
|