@mrclrchtr/supi-review 11.1.0 → 11.2.0
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.md +37 -3
- package/node_modules/@mrclrchtr/supi-agent-runtime/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-agent-runtime/package.json +2 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/README.md +29 -4
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/README.md +42 -5
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/LICENSE +15 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/README.md +680 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/classes/index.js +7 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/classes/range.js +577 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/major.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/index.js +93 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/internal/re.js +223 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/package.json +78 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/preload.js +4 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/range.bnf +17 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/package.json +5 -3
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/client/client.ts +23 -5
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/config/config.ts +53 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/config/operation-support.ts +19 -4
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/config/server-config.ts +22 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/config/typescript-launch.ts +276 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-project-info.ts +22 -10
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/manager/manager.ts +52 -19
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/provider/refactor-planning.ts +4 -3
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-controller.ts +2 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/src/session/scanner.ts +27 -15
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-tree-sitter/package.json +3 -3
- package/node_modules/@mrclrchtr/supi-code-intelligence/package.json +5 -5
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/capability/capability-warnings.ts +18 -12
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/check.ts +115 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/diagnostics.ts +3 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/file-scope.ts +2 -3
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/semantic-state.ts +38 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/server-status.ts +8 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/signals.ts +2 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/health/status.ts +82 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/analysis/refactor/apply.ts +17 -8
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/health-types.ts +7 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/health-workflow.ts +8 -43
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation/collect.ts +138 -12
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation/context-facts.ts +27 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation/context-sections.ts +47 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation/facts.ts +124 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation/gather.ts +98 -11
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation/workspace-context.ts +16 -6
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation-types.ts +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/orientation-workflow.ts +3 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/refactor-plans.ts +5 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/session/refactor-workflow.ts +4 -3
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_find/guidance.ts +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_health/markdown.ts +12 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_health/result.ts +15 -2
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_health/spec.ts +2 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_health/structured-schema.ts +250 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_health/structured.ts +256 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_inspect/result.ts +11 -5
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_inspect/spec.ts +2 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_inspect/structured.ts +232 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/result.ts +10 -4
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/spec.ts +2 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/structured-schema.ts +607 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/structured-workspace.ts +193 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/structured.ts +195 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/workspace-observations.ts +81 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/workspace-output.ts +5 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/workspace-projects.ts +16 -31
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_orientation/workspace-sections.ts +43 -30
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_apply/execute.ts +1 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_apply/result.ts +13 -5
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_apply/spec.ts +2 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_apply/structured.ts +49 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_plan/result.ts +16 -8
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_plan/spec.ts +2 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/code_refactor_plan/structured.ts +128 -0
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/tool/schemas.ts +7 -1
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/ui/status-command.ts +110 -321
- package/node_modules/@mrclrchtr/supi-code-intelligence/src/ui/status-overlay.ts +564 -420
- package/node_modules/@mrclrchtr/supi-core/package.json +1 -1
- package/package.json +4 -4
- package/src/session/review-artifact-store.ts +7 -2
- package/src/target/file-manifest.ts +24 -0
- package/src/target/packet.ts +3 -2
- package/src/tool/output-page.ts +6 -4
- package/src/tool/review_audit/result.ts +50 -15
- package/src/tool/review_audit/spec.ts +2 -0
- package/src/tool/review_audit/structured.ts +67 -0
- package/src/tool/review_output/execute.ts +6 -4
- package/src/tool/review_output/guidance.ts +1 -1
- package/src/tool/review_output/result.ts +8 -3
- package/src/tool/review_output/spec.ts +10 -0
- package/src/tool/review_run/guidance.ts +1 -1
- package/src/tool/review_run/planner-input.ts +2 -1
- package/src/tool/review_run/planner.ts +3 -1
- package/src/tool/review_run/schemas.ts +4 -2
- package/src/tool/review_run/system-prompt.ts +3 -0
package/README.md
CHANGED
|
@@ -79,6 +79,15 @@ Tasks can include `criteriaSources`. Each source has a `reference` and a `summar
|
|
|
79
79
|
|
|
80
80
|
`paths` is an optional top-level Review Scope. Each path is workspace-relative. The Review Engine validates each path in the frozen after state before it starts Reviewer Sessions. Paths are advisory. They focus every task, but they do not restrict inspection, evidence, or findings.
|
|
81
81
|
|
|
82
|
+
### Compact handoffs
|
|
83
|
+
|
|
84
|
+
- Use `sharedContext` for batch-wide context and reported verification: completed, pending, or not checked, with the checked revision when known. Omit full logs.
|
|
85
|
+
- Keep each task's objective, criteria, and known requirement-to-source/test locations in its `instructions`. Paths, symbols, or test names are sufficient navigation hints; do not investigate just to fill missing mappings.
|
|
86
|
+
- Omit unknown mappings and revision associations rather than guessing. The interactive Planner preserves only relevant hints and reported checks supplied in its bounded input; it does not inspect or verify them.
|
|
87
|
+
- Reviewers independently inspect the implementation and test coverage. Navigation hints are not proof of coverage, and reported checks are not independently verified results.
|
|
88
|
+
|
|
89
|
+
For example, a task's `instructions` may include `Cancellation during setup → src/run.ts: startRun; cancellation.test.ts: "disposes late session"`. Its batch's `sharedContext` may report `Focused cancellation tests completed on <commit>; full verification pending; browser behavior not checked`.
|
|
90
|
+
|
|
82
91
|
## Review Workspaces
|
|
83
92
|
|
|
84
93
|
The Review Engine records exact commit state before it starts a Review Workspace.
|
|
@@ -110,7 +119,9 @@ The Reviewer Protocol owns finding eligibility:
|
|
|
110
119
|
- `change` permits findings attributable to the selected change. A pre-existing issue is permitted only in a changed file or a directly affected symbol. It stays advisory unless the selected change worsens or newly exposes it.
|
|
111
120
|
- `state` permits findings relevant to the Review Criteria anywhere in the frozen after state. A relevant pre-existing finding can block acceptance.
|
|
112
121
|
|
|
113
|
-
A change packet gives exact before and after guidance, a changed-path manifest, and
|
|
122
|
+
A change packet gives exact before and after guidance, a changed-path manifest, change statistics, and a compact status breakdown of the complete captured inventory, even when the manifest omits paths. The breakdown reports captured Git statuses; it does not perform additional rename detection or establish behavioral preservation. Planner input uses the same breakdown. A state packet gives only after-state guidance. When it uses a filesystem workspace, staged changes are freeze mechanics and are not Target Evidence.
|
|
123
|
+
|
|
124
|
+
Change reviews start with the changed-path inventory and relevant diffs, splitting large changes into bounded groups. Reviewers retrieve surrounding code, callers, and dependencies as needed and avoid rereading evidence unless resolving a specific question; full-file inspection remains appropriate when needed.
|
|
114
125
|
|
|
115
126
|
Repository content is untrusted evidence. It cannot override the Reviewer Protocol or a Review Task. Reviewer Sessions use repository documents as Review Criteria only.
|
|
116
127
|
|
|
@@ -143,7 +154,15 @@ Each task result includes its Review Mode, packet SHA-256, verdict, finding coun
|
|
|
143
154
|
|
|
144
155
|
`blocksAcceptance` keeps its existing meaning. The Review Engine derives `issues` for a blocking finding. It derives `incomplete` for incomplete Criteria Coverage without a blocking finding, `pass_with_findings` for only non-blocking findings, and `pass` for no findings.
|
|
145
156
|
|
|
146
|
-
Parent-facing output from `review_run` or `/supi-review` is stored as a bounded session artifact. Use `review_output` with its returned `artifactId` and offset to read more output.
|
|
157
|
+
Parent-facing output from `review_run` or `/supi-review` is stored as a bounded session artifact. Use `review_output` with its returned `artifactId` and offset to read more output. Artifacts retain the existing session limits and expire after 30 minutes, reload, resume, or a branch change.
|
|
158
|
+
|
|
159
|
+
`review_output` declares a native output schema. Direct calls remain paged: `offset` and `limit` select the readable page, with continuation instructions when needed. Codemode receives `{ artifactId, text, totalCharacters }`, where `text` is the **complete stored report**, independent of that page selection. It contains no synthetic paging notice or empty-page marker. `totalCharacters` counts UTF-16 code units. This is formatted report text, not typed findings or Task Verdict data.
|
|
160
|
+
|
|
161
|
+
```js
|
|
162
|
+
const report = await tools.review_output({ artifactId });
|
|
163
|
+
// Select what reaches the model; the script receives the full stored report.
|
|
164
|
+
return report.text.slice(-2000);
|
|
165
|
+
```
|
|
147
166
|
|
|
148
167
|
## Local reviewer replay
|
|
149
168
|
|
|
@@ -151,7 +170,22 @@ Parent-facing output from `review_run` or `/supi-review` is stored as a bounded
|
|
|
151
170
|
|
|
152
171
|
With an artifact id, the audit tool now returns **Replay Outline** by default. The outline gives one metadata-only row for each stable zero-based position in the persisted captured-message array. It includes role, content kinds and size, tool names, stop reason, and error presence. It does not include message prose, provider error text, tool arguments, tool results, arbitrary message fields, or file paths.
|
|
153
172
|
|
|
154
|
-
Use `view: "message"` with `messageIndex` to page one selected persisted message. Use `view: "raw"` to page the exact
|
|
173
|
+
Use `view: "message"` with `messageIndex` to page one selected persisted message. Use `view: "raw"` to page the exact persisted replay JSON. Message and raw views remain private opt-in audit access and can contain repository evidence, provider errors, tool arguments, and tool output. New records keep `thinkingLevel` as the effective level and add `requestedThinkingLevel`; older records have no requested level.
|
|
174
|
+
|
|
175
|
+
`review_audit` declares mode-discriminated native data for the **selected page only**, unlike `review_output`:
|
|
176
|
+
|
|
177
|
+
| `mode` | Native selection |
|
|
178
|
+
| --- | --- |
|
|
179
|
+
| `list` | `audits` (page-visible `{ artifactId, expiresAt }` entries) and `totalAudits`. An entry is included only when its full artifact ID is on the page, even if the rest of its row is split. |
|
|
180
|
+
| `outline` | `artifactId`, allowlisted `rows`, their `messageIndexes`, and `totalMessages`. Only complete rows on the page are included; split rows remain in page text only. |
|
|
181
|
+
| `message` | Explicitly selected `artifactId` and `messageIndex`; text is only that message's selected page. |
|
|
182
|
+
| `raw` | Explicitly selected `artifactId`; text is only the raw JSON page, never an implicit full replay. |
|
|
183
|
+
|
|
184
|
+
Every mode includes clean `text`, `offset`, `totalCharacters`, and optional `nextOffset`. Offsets and totals count UTF-16 code units. Native text excludes synthetic continuation notices and is `""` at end-of-content; direct-call text retains continuation instructions and `[no content]`. Follow `nextOffset` with the same view/identity to continue. Empty lists and outlines remain successful metadata-only results. Reaching the last page establishes neither complete review evidence nor Criteria Coverage.
|
|
185
|
+
|
|
186
|
+
List and outline results do not include message contents, provider error text, tool arguments/results, file paths, or unselected replay evidence. Auditing consent, activation, seven-day expiry, and cancellation/error behavior are unchanged. Existing renderer/state `details` are separate from native script data.
|
|
187
|
+
|
|
188
|
+
After updating the extension, active Pi sessions require `/reload` or a restart.
|
|
155
189
|
|
|
156
190
|
## Post-review behavior
|
|
157
191
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrclrchtr/supi-agent-runtime",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "SuPi Agent Run runtime — neutral lifecycle management for in-process pi sessions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"!__tests__"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@mrclrchtr/supi-core": "11.
|
|
31
|
+
"@mrclrchtr/supi-core": "11.2.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@earendil-works/pi-ai": "*",
|
|
@@ -85,9 +85,26 @@ Important tool rules:
|
|
|
85
85
|
|
|
86
86
|
### Structured codemode results
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
All eight tools declare native output schemas and return JSON-serializable `structuredContent`. Direct calls retain readable `content`; Pi's default codemode route resolves to native data instead of Markdown. `details` remains a separate UI/state contract, not the script API. Text, script data, and UI details project the same collected facts; no representation is recovered by parsing another.
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
| Tool | Native data |
|
|
91
|
+
|---|---|
|
|
92
|
+
| Resolve | `targets` with reusable `handle` values, candidate selection, and evidence counts |
|
|
93
|
+
| Inspect | `point`, independently completed/partial/unavailable `sections` with `data`, recovery, bounded definitions/diagnostics, provenance, and next queries |
|
|
94
|
+
| Orientation | `focusKind`, named section `facts`, selected `workspace` inventories/declarations/relationships and Gradle observations when applicable, instructions, limitations, and optional captured `snapshot` |
|
|
95
|
+
| Graph | Per-relation `sections` with bounded `items` and evidence |
|
|
96
|
+
| Find | Bounded `matches`; AST scan policy, exclusions, limitations, and failures |
|
|
97
|
+
| Health | Requested `includedSections` and `level`, actual `diagnostics` with scope and confirmation evidence, all collected `servers`, workspace inventory scope, capability state, warnings, and separate `refresh` outcomes |
|
|
98
|
+
| Refactor Plan | `planId`, operation, safe target facts, every exact edit in `edits`, file/edit counts, provenance, and `nextAction` |
|
|
99
|
+
| Refactor Apply | Explicit `kind: "applied"`, changed `files` with per-file counts, and total file/edit counts |
|
|
100
|
+
|
|
101
|
+
Check `kind` before consuming evidence. Invalid input and candidate selection remain corrective returned outcomes; real execution/capability failures and cancellation throw. Internal providers, target records, fingerprints, mutation authority, and session state are not exposed. Apply recovery continues to consume `details.data.changedFiles` independently of script data.
|
|
102
|
+
|
|
103
|
+
Limits belong to their representation. Inspect retains its evidence limits. Orientation native records retain the focus, ordering, `maxResults`, and collection limits even when text budgets hide descriptions or navigation rows. A captured snapshot describes the same observation; reading it does not refresh facts. Health returns all collected diagnostic-file/server entries, with at most three error/warning messages per file in detailed mode; neither a complete returned list nor successful maintenance proves workspace-wide diagnostic completeness. Plan returns every edit even when text previews only five. Text-preview omission counts do not describe these complete native lists. Evidence metadata preserves exact versus unknown totals and partial reasons.
|
|
104
|
+
|
|
105
|
+
Source points, target positions, Inspect source coordinates, and Orientation source-item coordinates use one-based lines and UTF-16 columns. Refactor edit ranges and Orientation provider ranges (hover, definitions, diagnostics), like syntax-recovery ranges, use zero-based lines and UTF-16 columns; range ends are exclusive. Health messages use one-based lines.
|
|
106
|
+
|
|
107
|
+
Registered-tool tests validate results against the registered output schemas and JSON round-tripping; Pi does not validate output schemas at runtime. Separate deterministic integration tests execute all five migrated tools through Pi's real default codemode route, including fixture mutation by Apply. These tests use controlled providers, not live language-server qualification.
|
|
91
108
|
|
|
92
109
|
Example codemode script that returns counts rather than every reference:
|
|
93
110
|
|
|
@@ -116,7 +133,7 @@ Automatic collection stays within the session working directory. Ancestor Git ro
|
|
|
116
133
|
- Captured directory diagrams retain separate dependency categories and declared values. Unique declared-name matches do not prove installed dependency resolution or runtime architecture.
|
|
117
134
|
- The inventory retains at most 10,000 entries. An explicit in-root directory is collected before unrelated paths use that budget. External directory focus uses its own observation. Metadata files have a 1 MiB read limit. The first-turn collector has a 10-second deadline; tool calls use their request control. Results disclose incomplete collection.
|
|
118
135
|
|
|
119
|
-
Estimated tokens are `ceil(characters / 4)`. The overview warns above 1,000 and has a 2,000-token hard cap. Workspace and directory navigation warn above 2,000 and have a 4,000-token hard cap. Warnings go to UI and debug only. `maxResults` can reduce a list, but cannot bypass the
|
|
136
|
+
Estimated tokens are `ceil(characters / 4)`. The overview warns above 1,000 and has a 2,000-token hard cap. Workspace and directory navigation warn above 2,000 and have a 4,000-token hard cap. Warnings go to UI and debug only. `maxResults` can reduce a list, but cannot bypass the text cap. Native records retain their caller-limited selection independently of that text budget.
|
|
120
137
|
|
|
121
138
|
The overview links captured details only when navigation rows or descriptions are omitted. Explicit workspace/directory Orientation also preserves raw inventory evidence. Captured-result files contain the complete collected observation, not just the selected rows. Reading them does not refresh facts or establish that every possible fact was collected. Instruction snippets have a separate budget and still respect Pi's final output safety limit. Unread instruction text is identified and is not recorded as supplied. File- and symbol-focused navigation retain their existing output.
|
|
122
139
|
|
|
@@ -143,6 +160,8 @@ Candidate selection for Graph, Resolve, and Orientation uses one structured tran
|
|
|
143
160
|
|
|
144
161
|
The planner accepts one target handle or anchor and one operation: `rename_symbol`, `extract_function`, `extract_variable`, `update_imports`, or `delete_dead_code`. Rename, import updates, and dead-code removal depend on the language server and validated edits. Function and variable extraction are currently unavailable for all languages: standard LSP code actions do not provide a safe exact extraction-name contract. Unsupported operations do not fall back to text edits.
|
|
145
162
|
|
|
163
|
+
`delete_dead_code` accepts precise `source.removeUnused` or `source.removeUnusedImports` actions (including dotted descendants), not title-based guesses or `source.fixAll`. Native TypeScript 7.0.2 is qualified for unused-import removal only; it does not imply removal of arbitrary unused declarations or TLS/native parity. An imports-only advertisement appears as limited SuPi support with the reason in `code_health`. Different matching edit plans remain ambiguous rather than selecting an action automatically.
|
|
164
|
+
|
|
146
165
|
Rename can discover affected files and repeat the request once after validated same-route enrollment, with a limit of 64 files. A null server document version for an open file is accepted only with a verified request snapshot of synchronized content. Plans retain its content fingerprint and client version; unknown or mismatched state remains unavailable.
|
|
147
166
|
|
|
148
167
|
Plans are held in memory for the current session. Apply accepts only the returned `planId`; it does not create or regenerate a plan. It checks SHA-256 file fingerprints, provider-authorized roots, document versions when available, edit ranges, and overlaps before writing. Changed files require a new plan. A successful apply removes the plan.
|
|
@@ -224,7 +243,13 @@ In interactive Pi, open the status overlay:
|
|
|
224
243
|
/supi-ci-status
|
|
225
244
|
```
|
|
226
245
|
|
|
227
|
-
|
|
246
|
+
The inspector shows semantic and structural readiness, error and warning counts, diagnostic confirmation evidence, server routes and roots, negotiated operation support, capability warnings, and active code tools. The **Diagnostic files** list includes tracked filenames even when clean; unconfirmed, failed, removed, skipped, and unavailable files are labeled separately. Diagnostic counts describe tracked files, not a workspace-wide check; stale, incomplete, and unavailable observations remain explicit. Ready servers do not establish file coverage. An empty snapshot without confirmed files is not reported as clean.
|
|
247
|
+
|
|
248
|
+
Use Up/Down (or `j`/`k`) to scroll the entire inspector, Page Up/Page Down to scroll by page, and Home/End to jump to the beginning/end. Use Tab/Shift+Tab to select the next/previous diagnostic file and Enter or Space to expand it. Press `c` or F5 to **Check diagnostics**: discover automatically eligible source files and request diagnostics for up to 32 files under one 30-second deadline. The result reports the selected range, remaining files in the pass, and discovery or time limits. Check again to continue the next batch; after the final batch, another check starts a new pass. This is bounded file coverage, not a whole-project guarantee. Closing the inspector cancels its wait and prevents further file requests; already-dispatched shared LSP work can settle independently.
|
|
249
|
+
|
|
250
|
+
Press `r` to reload the passive snapshot, `a` to collapse details, and Escape to close. Opening and reloading do not enroll files, retry servers, or request fresh diagnostics; use Check diagnostics for enrollment and file checks, or `code_health` with `refresh: true` for explicit recovery and diagnostic refresh. Scrolling, Tab, confirmation, and cancel actions honor Pi's configured keybindings. Configured actions take priority over `c` and F5; the inspector advertises an available check shortcut. The viewport adjusts to terminal size, with controls kept visible.
|
|
251
|
+
|
|
252
|
+
The inspector does not replace the footer or add editor widgets. The extension's separate LSP footer contribution remains active. Outside the interactive terminal, use `code_health`.
|
|
228
253
|
|
|
229
254
|
The package registers **Code Intelligence** and **LSP** settings. If `@mrclrchtr/supi-settings` is installed, use `/supi-settings` to edit them. A standalone Code Intelligence install does not include that settings UI.
|
|
230
255
|
|
package/node_modules/@mrclrchtr/supi-code-intelligence/node_modules/@mrclrchtr/supi-lsp/README.md
CHANGED
|
@@ -20,7 +20,7 @@ npm install @mrclrchtr/supi-lsp
|
|
|
20
20
|
|
|
21
21
|
## Language-server support
|
|
22
22
|
|
|
23
|
-
SuPi provides 13 built-in server definitions. All are enabled unless `lsp.servers.<key>.enabled` is `false`. Install the language servers yourself; SuPi does not download or install them. Built-in commands must be on `PATH
|
|
23
|
+
SuPi provides 13 built-in server definitions. All are enabled unless `lsp.servers.<key>.enabled` is `false`. Install the language servers yourself; SuPi does not download or install them. Built-in commands must be on `PATH`, except project-local native TypeScript; a configured absolute command path is also supported. Code Intelligence starts the runtime only for trusted projects.
|
|
24
24
|
|
|
25
25
|
### Built-in route matrix
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ This matrix describes the default routing configuration, not a live test or a gu
|
|
|
28
28
|
|
|
29
29
|
| Language / config key | Default command and arguments | File extensions | Root markers for automatic discovery |
|
|
30
30
|
|---|---|---|---|
|
|
31
|
-
| TypeScript / JavaScript — `typescript` | `typescript-language-server --stdio` | `.ts`, `.tsx`, `.js`, `.jsx`, `.mts`, `.cts`, `.mjs`, `.cjs` | `tsconfig.json`, `jsconfig.json`, `package.json` |
|
|
31
|
+
| TypeScript / JavaScript — `typescript` | Project-local native `tsc --lsp --stdio`, otherwise `typescript-language-server --stdio` | `.ts`, `.tsx`, `.js`, `.jsx`, `.mts`, `.cts`, `.mjs`, `.cjs` | `tsconfig.json`, `jsconfig.json`, `package.json` |
|
|
32
32
|
| Python — `python` | `pyright-langserver --stdio` | `.py`, `.pyi` | `pyproject.toml`, `setup.py`, `setup.cfg`, `requirements.txt`, `pyrightconfig.json` |
|
|
33
33
|
| Rust — `rust` | `rust-analyzer` | `.rs` | `Cargo.toml` |
|
|
34
34
|
| Go — `go` | `gopls serve` | `.go`, `.mod` | `go.mod`, `go.sum` |
|
|
@@ -59,7 +59,7 @@ A configured route is not a ready server. Features depend on the active server,
|
|
|
59
59
|
| Hover, definitions, references, implementations, document/workspace symbols | Supported through the server's corresponding LSP methods; availability and coverage differ by server. |
|
|
60
60
|
| Diagnostics | Native pull, the eligible TypeScript request adapter, or ambient push. Push observation alone cannot confirm that a file is clean. See the diagnostic policy below. |
|
|
61
61
|
| `rename_symbol` | Requires server rename support and validated text edits; uses `prepareRename` when advertised. |
|
|
62
|
-
| `update_imports` / `delete_dead_code` | Requires matching `source.organizeImports` / `source.removeUnused` code actions that produce validated text edits. |
|
|
62
|
+
| `update_imports` / `delete_dead_code` | Requires matching `source.organizeImports` / (`source.removeUnused` or `source.removeUnusedImports`) code actions that produce validated text edits. Imports-only advertisement reports limited support, not arbitrary unused-declaration removal. |
|
|
63
63
|
| `extract_function` / `extract_variable` | Unavailable for all languages: standard LSP code actions do not provide a safe exact extraction-name contract. |
|
|
64
64
|
|
|
65
65
|
The [operation-support model](src/config/operation-support.ts) separates server advertisement from SuPi planning limits. A server can advertise an action that SuPi cannot safely turn into a plan.
|
|
@@ -72,6 +72,40 @@ Pyright remains the default Python server, but the audited server lacks implemen
|
|
|
72
72
|
|
|
73
73
|
JDTLS acceptance uses a compatible pinned JDK and isolated writable `-data` and `-configuration` directories. Keep test workspaces separate from personal JDTLS state. The [capability baseline](../../docs/conventions/code-language-baseline.md) defines the operation and evidence requirements.
|
|
74
74
|
|
|
75
|
+
### TypeScript compiler selection
|
|
76
|
+
|
|
77
|
+
The default TypeScript route prefers a project-local stable native TS7 server. Native launches use the selected package's declared `tsc` Node launcher with `--lsp --stdio`; neither TLS nor a global native executable is required. Legacy compiler launches still require `typescript-language-server` (TLS) on PATH. Nothing is installed automatically.
|
|
78
|
+
|
|
79
|
+
| Configuration | Launch policy |
|
|
80
|
+
|---|---|
|
|
81
|
+
| No explicit launch fields | Prefer stable native TS7 as `typescript`, then as `@typescript/native`. Otherwise use legacy `typescript`, or—only if absent—`@typescript/typescript6`. If all are absent, retain TLS's existing lookup. |
|
|
82
|
+
| `lsp.servers.typescript.typescriptPackage` | Resolve exactly this installed package name/alias. No arbitrary alias scan, package subpath, URL, or filesystem-path selector. |
|
|
83
|
+
| Explicit `command` **or** `args` | Manual launch, including inherited values equal to defaults. No automatic compiler selection or initialization-option injection. |
|
|
84
|
+
| Explicit `initializationOptions.tsserver.path` | Use the configured path without automatic compiler selection. |
|
|
85
|
+
| Package selector plus any explicit launch field above | Configuration conflict; the failure identifies fields and their configuration origins when available. Remove one side and reload. |
|
|
86
|
+
|
|
87
|
+
For example, select a compiler installed as `my-ts6` without changing the TLS command:
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{ "lsp": { "servers": { "typescript": { "typescriptPackage": "my-ts6" } } } }
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
- Resolve packages using the route root's normal Node package search paths, including hoisted and symlinked packages. A package whose actual identity is `@typescript/typescript6`, including one installed as `typescript` or another alias, resolves `@typescript/old` from the wrapper's dependency graph. Pass the underlying implementation's actual `lib/tsserver.js` through `initializationOptions.tsserver.path`; preserve other initialization options.
|
|
94
|
+
- Native-first precedence deliberately replaces canonical-package-first selection: a native `@typescript/native` alias wins over legacy `typescript`. This alias must resolve to the stable native `typescript` package, not legacy TS or the old preview package. Other aliases require `typescriptPackage`.
|
|
95
|
+
- A consulted broken symlink, malformed manifest, missing compiler version, unsupported identity/major, or prerelease is an error, not absence. Stable TS7 releases are eligible without a patch allowlist; unknown native majors and preview/nightly packages require manual launch. Do not inspect lower-priority packages after a native winner. Only the winner's launch files are validated, so a legacy loser's missing `tsserver.js` does not block a healthy native alias.
|
|
96
|
+
- Never fall back after resolution or startup failure of the selected package. Manual launches receive no automatic initialization-option injection.
|
|
97
|
+
- Discovery, missing-server warnings, lazy starts, and recovery use the same policy. Every actual start/retry resolves fresh package files using the active settings snapshot. Installing or repairing a compiler can be followed by explicit health refresh; changing settings requires reload/restart. Healthy clients do not hot-swap.
|
|
98
|
+
- `code_health` and `/supi-ci-status` show the `native` or `tsserver` backend and resolved compiler version when known, separately from wrapper version. Manual/legacy-fallback launches have no inferred compiler identity. Missing versions remain unknown. Selection failures identify the package/root and a corrective action.
|
|
99
|
+
- Topmost-root collapsing remains unchanged. Mixed nested backends, Windows live qualification, dependency watchers, performance benchmarking, and full TLS/native feature parity are outside this change. Existing legacy TLS support is not deliberately removed.
|
|
100
|
+
|
|
101
|
+
Focused qualification pins native TypeScript **7.0.2**, TLS **6.0.2**, ordinary TypeScript **6.0.3**, and `@typescript/typescript6` **6.0.2** backed by `@typescript/old` → TypeScript **6.0.3**. The wrapper's dependency range does not guarantee that compiler version; the lockfile and [prerequisite pins](../../scripts/language-baseline/pins.json) fix these combinations. SuPi retains TS6 for its compiler-API dependency and legacy-server tests. Workspace typechecking and declaration builds use the native TS7 launcher directly to avoid ambiguity between the installed `tsc` binaries.
|
|
102
|
+
|
|
103
|
+
The required [Linux/macOS CI matrix](../../.github/workflows/ci.yml) keeps [selection/layout tests](__tests__/unit/typescript-launch.test.ts), [real native lifecycle tests](__tests__/integration/workspace-runtime.integration.typescript-native.test.ts), and [wrapper lifecycle tests](__tests__/integration/workspace-runtime.integration.typescript-launch.test.ts) separate from the [public TS/JS semantic matrix](../supi-code-intelligence/__tests__/acceptance/language-baseline-harness.ts). Required missing/unavailable behavior fails rather than skips. The matrix covers hover, definitions, references, meaningful implementations, document/workspace symbols, confirmed error → clean diagnostics, refresh, cross-file invalidation, Unicode-safe rename plan/apply and stale-plan rejection, and precise organize-imports. The TypeScript public matrix also checks unused-import removal, unchanged source during planning, stale-plan rejection, and preservation of unrelated text; native support is imports-only. Native TSX/JSX and module suffixes receive routing/synchronization checks rather than duplicate matrices. Existing stale-result and edit-safety suites remain in place.
|
|
104
|
+
|
|
105
|
+
[Bounded config comparisons](__tests__/integration/typescript-config-coverage.test.ts) compare TS6 and native TS7 `--showConfig` root-file coverage for TS/JS defaults, include/exclude, `allowJs`/`checkJs`, inherited patterns (including late-created files), and separate referenced projects. These cases found no false exclusion; filtering is unchanged. **Config coverage state is not TypeScript program membership**: imports may bring excluded files into a program, and references do not merge root-file lists.
|
|
106
|
+
|
|
107
|
+
Native `delete_dead_code` consumes `source.removeUnusedImports` through the same safe plan/apply workflow ([#554](https://github.com/mrclrchtr/supi/issues/554)). This mapping removes unused imports only: operation support reports `server: advertised`, `supi: limited`, with an imports-only reason. It does not qualify arbitrary unused-declaration removal. Extraction remains unavailable ([#467](https://github.com/mrclrchtr/supi/issues/467)); no TLS/native feature-parity claim is made. Only the pinned combinations are tested, not every stable TS7 release. Focused qualification passed on macOS arm64 (Node 24.22.1) and Linux arm64 (Debian container, Node 24.22.0), including the native/TS6 public TS/JS matrix. The unused-import follow-up has local macOS arm64 verification only; its Linux verification remains pending. The pinned Linux/macOS CI jobs remain pending until they run; this is not a qualification claim for the complete multi-language baseline.
|
|
108
|
+
|
|
75
109
|
### Java startup and project JDKs
|
|
76
110
|
|
|
77
111
|
The JDK that starts JDTLS can differ from the JDK that builds your project. Set a compatible server runtime through the Java route without changing the shell or project compiler:
|
|
@@ -253,8 +287,11 @@ Disable one language with `lsp.servers.<language>.enabled: false`. Use `/supi-ci
|
|
|
253
287
|
- negotiated operation support in project-server status
|
|
254
288
|
|
|
255
289
|
Operation-specific planners request `source.organizeImports` for import updates and
|
|
256
|
-
`source.removeUnused` for dead-code removal.
|
|
257
|
-
|
|
290
|
+
both `source.removeUnused` and `source.removeUnusedImports` for dead-code removal.
|
|
291
|
+
These distinct kinds are alternatives, not parent/child kinds; either exact kind
|
|
292
|
+
or its dotted descendants can match the returned `CodeAction.kind`, never its title.
|
|
293
|
+
An imports-only advertisement reports a SuPi limitation rather than general
|
|
294
|
+
unused-declaration support. Edit-only actions are validated before planning. Command actions,
|
|
258
295
|
resource operations, snippets, annotations, malformed actions, and stale responses
|
|
259
296
|
stay unavailable. Distinct matching plans return an ambiguous result instead of
|
|
260
297
|
selecting the first action. Rename uses `prepareRename` when the server advertises
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
The ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|