@eyeauras/insight-cli 0.5.7 → 0.6.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/.cli-package-build.json +1 -1
- package/SKILL.md +1 -1
- package/dist/src/artifacts.d.ts +1 -1
- package/dist/src/artifacts.js +3 -3
- package/dist/src/cli.js +74 -15
- package/dist/src/contexts.d.ts +120 -10
- package/dist/src/contexts.js +510 -107
- package/dist/src/legacy-migration.d.ts +37 -0
- package/dist/src/legacy-migration.js +237 -0
- package/dist/src/lifecycle.d.ts +16 -5
- package/dist/src/lifecycle.js +43 -6
- package/dist/src/merge.d.ts +1 -1
- package/dist/src/merge.js +2 -2
- package/dist/src/model.d.ts +5 -0
- package/dist/src/model.js +2 -0
- package/dist/src/native-inputs.js +12 -2
- package/dist/src/native-merge-patches.d.ts +6 -0
- package/dist/src/native-merge-patches.js +100 -0
- package/dist/src/persistent-client.d.ts +8 -2
- package/dist/src/persistent-client.js +30 -8
- package/dist/src/projects.js +5 -4
- package/dist/src/research.d.ts +77 -14
- package/dist/src/research.js +99 -123
- package/dist/src/sdk-files.js +3 -3
- package/dist/src/server.d.ts +5 -1
- package/dist/src/server.js +46 -6
- package/dist/src/storage-gc.d.ts +23 -0
- package/dist/src/storage-gc.js +358 -0
- package/dist/src/sync-policy.js +4 -2
- package/dist/src/version-tracking.js +2 -1
- package/dist/src/workspace.d.ts +35 -2
- package/dist/src/workspace.js +91 -7
- package/package.json +1 -1
- package/references/native/APACHE-2.0.txt +202 -0
- package/references/native/HeadlessProgramMergeManager.java +86 -0
- package/references/native/InsightGuiMain.java +1 -0
- package/references/native/InsightHeadlessMain.java +1 -0
- package/references/native/InsightImportProgress.java +10 -5
- package/references/native/InsightInitialImport.java +1 -1
- package/references/native/InsightNativeCheckout.java +214 -0
- package/references/native/InsightNativeFingerprint.java +14 -0
- package/references/native/InsightNativeMigration.java +147 -0
- package/references/native/InsightNativeRead.java +57 -0
- package/references/native/InsightNativeView.java +29 -0
- package/references/native/InsightOfflineAuthenticator.java +20 -0
- package/references/native/InsightSdkFiles.java +4 -0
- package/references/native/InsightSnapshotFields.java +17 -11
- package/references/native/InsightSnapshotInspect.java +4 -2
- package/references/native/NATIVE-MERGE-NOTICE.txt +15 -0
- package/references/persistent-client.mjs +30 -8
- package/references/persistent.md +47 -7
- package/references/recovery.md +58 -12
- package/references/research.md +25 -22
- package/references/setup.md +13 -3
- package/skill-bundle/insight-artifacts/SKILL.md +1 -1
- package/skill-bundle/insight-artifacts/references/recovery.md +58 -12
- package/skill-bundle/insight-binary/SKILL.md +1 -1
- package/skill-bundle/insight-capture/SKILL.md +1 -1
- package/skill-bundle/insight-cli/SKILL.md +1 -1
- package/skill-bundle/insight-cli/references/persistent-client.mjs +30 -8
- package/skill-bundle/insight-cli/references/persistent.md +47 -7
- package/skill-bundle/insight-cli/references/recovery.md +58 -12
- package/skill-bundle/insight-cli/references/setup.md +13 -3
- package/skill-bundle/insight-die/SKILL.md +1 -1
- package/skill-bundle/insight-dnspy/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-dump/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-stack/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-trace/SKILL.md +1 -1
- package/skill-bundle/insight-frida/SKILL.md +1 -1
- package/skill-bundle/insight-ghidra/SKILL.md +8 -1
- package/skill-bundle/insight-ghidra/references/persistent-client.mjs +30 -8
- package/skill-bundle/insight-ghidra/references/persistent.md +47 -7
- package/skill-bundle/insight-ghidra/references/recovery.md +58 -12
- package/skill-bundle/insight-ghidra/references/research.md +25 -22
- package/skill-bundle/insight-ghidra/references/setup.md +13 -3
- package/skill-bundle/insight-ilspy/SKILL.md +1 -1
- package/skill-bundle/insight-interop/SKILL.md +1 -1
- package/skill-bundle/insight-lldb/SKILL.md +1 -1
- package/skill-bundle/insight-llvm/SKILL.md +1 -1
- package/skill-bundle/insight-managed-heap/SKILL.md +1 -1
- package/skill-bundle/insight-managed-metadata/SKILL.md +1 -1
- package/skill-bundle/insight-mitmproxy/SKILL.md +1 -1
- package/skill-bundle/insight-overview/SKILL.md +1 -1
- package/skill-bundle/insight-procmon/SKILL.md +1 -1
- package/skill-bundle/insight-re/SKILL.md +1 -1
- package/skill-bundle/insight-re/references/persistent-client.mjs +30 -8
- package/skill-bundle/insight-re/references/persistent.md +47 -7
- package/skill-bundle/insight-re/references/recovery.md +58 -12
- package/skill-bundle/insight-sevenzip/SKILL.md +1 -1
- package/skill-bundle/insight-strace/SKILL.md +1 -1
- package/skill-bundle/insight-tshark/SKILL.md +1 -1
- package/skill-bundle/insight-windbg/SKILL.md +1 -1
- package/skill-bundle/manifest.json +1 -1
- package/skills/insight-artifacts/SKILL.md +1 -1
- package/skills/insight-artifacts/references/recovery.md +58 -12
- package/skills/insight-binary/SKILL.md +1 -1
- package/skills/insight-capture/SKILL.md +1 -1
- package/skills/insight-die/SKILL.md +1 -1
- package/skills/insight-dnspy/SKILL.md +1 -1
- package/skills/insight-dotnet-dump/SKILL.md +1 -1
- package/skills/insight-dotnet-stack/SKILL.md +1 -1
- package/skills/insight-dotnet-trace/SKILL.md +1 -1
- package/skills/insight-frida/SKILL.md +1 -1
- package/skills/insight-ghidra/SKILL.md +8 -1
- package/skills/insight-ghidra/references/persistent-client.mjs +30 -8
- package/skills/insight-ghidra/references/persistent.md +47 -7
- package/skills/insight-ghidra/references/recovery.md +58 -12
- package/skills/insight-ghidra/references/research.md +25 -22
- package/skills/insight-ghidra/references/setup.md +13 -3
- package/skills/insight-ilspy/SKILL.md +1 -1
- package/skills/insight-interop/SKILL.md +1 -1
- package/skills/insight-lldb/SKILL.md +1 -1
- package/skills/insight-llvm/SKILL.md +1 -1
- package/skills/insight-managed-heap/SKILL.md +1 -1
- package/skills/insight-managed-metadata/SKILL.md +1 -1
- package/skills/insight-mitmproxy/SKILL.md +1 -1
- package/skills/insight-overview/SKILL.md +1 -1
- package/skills/insight-procmon/SKILL.md +1 -1
- package/skills/insight-re/SKILL.md +1 -1
- package/skills/insight-re/references/persistent-client.mjs +30 -8
- package/skills/insight-re/references/persistent.md +47 -7
- package/skills/insight-re/references/recovery.md +58 -12
- package/skills/insight-sevenzip/SKILL.md +1 -1
- package/skills/insight-strace/SKILL.md +1 -1
- package/skills/insight-tshark/SKILL.md +1 -1
- package/skills/insight-windbg/SKILL.md +1 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# Continue saved work
|
|
2
2
|
|
|
3
3
|
Retain the session/target returned by initial open. Continue the tuple through
|
|
4
|
-
`insight-cli ghidra open --session <id> --target <id> --json`.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
`insight-cli ghidra open --session <id> --target <id> --json`. The native working project, checkout ID/base
|
|
5
|
+
and native change sets persist independently of the worker. Reopening uses that exact project
|
|
6
|
+
without importing a snapshot or silently receiving a newer shared version. Private workers
|
|
7
|
+
have no publisher credentials; service-only Update/check-in temporarily owns the stopped project.
|
|
8
|
+
Legacy detached contexts require explicit migration and remain retained.
|
|
9
|
+
|
|
10
|
+
If native `changes discard` loses its response, retry its original request ID or continue
|
|
11
|
+
the same session/target. Recovery requires a completed native discard journal and matching
|
|
12
|
+
new checkout identity/base and saved buffers, followed by independent server readback.
|
|
13
|
+
It does not repeat discard. An incomplete journal or mismatched checkout stays unknown;
|
|
14
|
+
preserve the project and any `.keep` file.
|
|
7
15
|
|
|
8
16
|
First-import recovery uses the same scoped `ghidra open` or the original request ID/input.
|
|
9
17
|
Import/analysis writes a private snapshot and completion receipt before any initial publication.
|
|
@@ -14,6 +22,14 @@ default one-hour wall-clock budget: after verifying that worker has stopped, use
|
|
|
14
22
|
--initial-import-seconds <seconds>` (up to 86400), then continue the same session/target. No partial
|
|
15
23
|
analysis checkpoint is implied. Terminal progress retains the last native message/counters; a new
|
|
16
24
|
attempt archives the previous observation as `progress-history-<uuid>.json`. A completed snapshot is reused.
|
|
25
|
+
Progress heartbeat, phase and terminal observation writes are diagnostic. An I/O failure replacing
|
|
26
|
+
`progress.json` cannot invalidate a completed private import or its prepared snapshot receipt.
|
|
27
|
+
A transient failure is cleared after a later successful observation; persistent observation failure
|
|
28
|
+
is reported privately while authoritative import and publication checks still run. Initial intent,
|
|
29
|
+
previous-observation retention and native completion receipts keep their existing validation.
|
|
30
|
+
If an older build reports a progress-persistence failure after preparing its snapshot, continue the
|
|
31
|
+
original scope: its validated prepared receipt reuses that full saved analysis without reimport.
|
|
32
|
+
|
|
17
33
|
Initial publication first creates a uniquely named staging object. A separate read-only process
|
|
18
34
|
verifies its complete saved DB buffers before a conditional server move to the absent canonical
|
|
19
35
|
path. It never checks in a new version of an existing canonical item. Lost promotion replies
|
|
@@ -31,12 +47,12 @@ independent readback. The old project, intent and original session/target remain
|
|
|
31
47
|
## Unresponsive headless backend
|
|
32
48
|
|
|
33
49
|
Continue the same session/target with ordinary `ghidra open` or a research read. When the
|
|
34
|
-
backend fails its identity preflight, the facade verifies the
|
|
35
|
-
and independently authenticates the exact worker before retiring it and
|
|
50
|
+
backend fails its identity preflight, the facade verifies the saved-view receipt
|
|
51
|
+
and independently authenticates the exact worker before retiring it and reopening the same native project.
|
|
36
52
|
This automatic retirement is limited to headless contexts without uncertain mutations, active
|
|
37
53
|
publication or a connected debugger. A failed health preflight is never permission to repeat a
|
|
38
54
|
script, save or publication. Journals, original projects and acknowledged pending edits remain.
|
|
39
|
-
Lifecycle diagnostics record `backend_unresponsive` followed by
|
|
55
|
+
Lifecycle diagnostics record `backend_unresponsive` followed by saved-project reopen.
|
|
40
56
|
|
|
41
57
|
On macOS ARM64 the packaged read-only kernel helper checks the same-user process, executable,
|
|
42
58
|
private root and digest of its unique context token without entering the JVM. It emits no token,
|
|
@@ -94,17 +110,17 @@ for adversarial same-JVM Java, and existing unknown script attempts are not recl
|
|
|
94
110
|
their exception strings or an unchanged program snapshot. File/Python scripts retain their
|
|
95
111
|
existing conservative recovery semantics.
|
|
96
112
|
|
|
97
|
-
An unknown or partial effect retains its request intent,
|
|
113
|
+
An unknown or partial effect retains its request intent, receipts and native project. Open the
|
|
98
114
|
same tuple to reconcile supported outcomes. A committed merge is verified against its recorded
|
|
99
115
|
server version and complete saved buffers through independent read authority; it is never
|
|
100
116
|
checked in again merely because its response was lost. Until verification succeeds, publication
|
|
101
117
|
for this shared target is blocked across sessions. Saved private work remains retained.
|
|
102
118
|
|
|
103
119
|
Scalar reconciliation observes and saves an already present effect; it does not execute the
|
|
104
|
-
setter again. Supported structural/function edits retain a
|
|
105
|
-
response
|
|
106
|
-
|
|
107
|
-
|
|
120
|
+
setter again. Supported structural/function edits can retain a saved-view receipt after an incomplete
|
|
121
|
+
response. For native contexts inspection must still match that receipt on the original saved
|
|
122
|
+
project; the receipt cannot recreate an older DB. Continuation adopts only fully verified effects
|
|
123
|
+
without replay. Unproved native work stays blocked and retained. An unproved program/script/external outcome remains unresolved. Preserve the profile
|
|
108
124
|
storage and credential store. Do not delete another session's project, stop a process by guessed
|
|
109
125
|
PID/port, or blindly repeat a script/external action to turn uncertainty into success.
|
|
110
126
|
|
|
@@ -117,7 +133,17 @@ as disconnected and retains saved program work. It does not recreate the old cur
|
|
|
117
133
|
a previous prompt policy. Other unproved live UI effects remain retained until their outcome is
|
|
118
134
|
established or the original process is known to have ended.
|
|
119
135
|
|
|
120
|
-
##
|
|
136
|
+
## Native unknown attempts and legacy abandonment
|
|
137
|
+
|
|
138
|
+
For native contexts the snapshot-based `ghidra abandon` rollback is unsupported: replacing the
|
|
139
|
+
DB from a detached snapshot would lose native ancestry and could discard acknowledged private
|
|
140
|
+
work. Preserve the original project/journal and reconcile provable effects. Do not use discard,
|
|
141
|
+
GC, another request ID or a new server checkout as evidence that an unknown script did nothing.
|
|
142
|
+
|
|
143
|
+
The historical snapshot-based abandonment contract below applies only to its retained legacy
|
|
144
|
+
fixtures, not to native contexts admitted by the primary CLI.
|
|
145
|
+
|
|
146
|
+
### Historical detached abandonment
|
|
121
147
|
|
|
122
148
|
A post-mutation save timeout does not repeat the script or issue another save in the
|
|
123
149
|
error handler. Status exposes the original request identity and retained phase/budget.
|
|
@@ -142,3 +168,23 @@ result. Earlier saved private edits remain pending. The original changing reques
|
|
|
142
168
|
execute again. Abandoning never undoes external effects or establishes what an arbitrary
|
|
143
169
|
script did; the acknowledgement explicitly accepts that uncertainty. Publication recovery,
|
|
144
170
|
initial import, UI and debugger attempts use their own protocols and cannot use this command.
|
|
171
|
+
|
|
172
|
+
## Explicit legacy migration
|
|
173
|
+
|
|
174
|
+
Legacy models require `ghidra migrate --target <target> --dry-run`, then the same
|
|
175
|
+
command without `--dry-run` (Destructive permission). Use `--all` for the profile.
|
|
176
|
+
Close selected workers first. Repeating migration resumes its retained journal; it never
|
|
177
|
+
retries an uncertain native check-in. Independent exact-version readback precedes checkout
|
|
178
|
+
release. Existing native models are unchanged. Detached snapshots with unproved native
|
|
179
|
+
ancestry/change sets are explicitly reported and retained, including private work.
|
|
180
|
+
A verified no-work failed open can be recovered without abandoning an arbitrary effect;
|
|
181
|
+
continue its original session/target with an ordinary new open request afterwards.
|
|
182
|
+
|
|
183
|
+
## Reclaim redundant storage
|
|
184
|
+
|
|
185
|
+
`ghidra gc --dry-run` reports reclaimable and retained copies by category. `ghidra gc`
|
|
186
|
+
(Destructive permission) removes unreferenced snapshots, duplicate exports, stopped detached
|
|
187
|
+
projects and caches, and releases checkouts Ghidra itself verifies as unchanged. Close workers
|
|
188
|
+
first; it never stops one. Pending, conflicted, uncertain and unverified work is retained with
|
|
189
|
+
a reason. Repeat the command after an interruption. Collection is not recovery: resolve an
|
|
190
|
+
unknown operation first.
|
|
@@ -3,7 +3,7 @@ name: insight-sevenzip
|
|
|
3
3
|
description: Inventory, integrity-check and recover files from archives and supported containers with insight-cli 7-Zip, then hand recovered binaries or configuration to the appropriate research tool.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight 7-Zip 0.
|
|
6
|
+
# Insight 7-Zip 0.6.0
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-strace
|
|
|
3
3
|
description: Observe actual file reads, writes, process creation and network syscalls in an authorized owned native Linux launch using insight-cli strace. Use when static inference needs concrete operating-system interaction evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight strace 0.
|
|
6
|
+
# Insight strace 0.6.0
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-tshark
|
|
|
3
3
|
description: Inspect an offline PCAP or PCAPNG with insight-cli tshark to identify protocols, HTTP/DNS/TLS fields, packet evidence and reconstructed TCP/UDP streams. Use for captured traffic questions; live acquisition and TLS decryption are separate tasks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight TShark 0.
|
|
6
|
+
# Insight TShark 0.6.0
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-windbg
|
|
|
3
3
|
description: Investigate Windows native user-mode minidumps using bounded stacks, threads, registers, modules, memory and disassembly through insight-cli windbg. Use on Windows x64 when a captured runtime state needs native debugger evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight WinDbg 0.
|
|
6
|
+
# Insight WinDbg 0.6.0
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|