pi-goosedump 0.6.2 → 0.6.3
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/index.ts +17 -14
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -897,18 +897,21 @@ export function createGoosedumpIntegration(
|
|
|
897
897
|
'Set outputFormat (e.g. "claude", "json") only when you explicitly need the raw native session instead of the rendered view.',
|
|
898
898
|
],
|
|
899
899
|
parameters: Type.Object({
|
|
900
|
-
action: Type.
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
900
|
+
action: Type.Optional(
|
|
901
|
+
Type.Union(
|
|
902
|
+
[
|
|
903
|
+
Type.Literal('list'),
|
|
904
|
+
Type.Literal('search'),
|
|
905
|
+
Type.Literal('grep'),
|
|
906
|
+
Type.Literal('expand'),
|
|
907
|
+
Type.Literal('view'),
|
|
908
|
+
],
|
|
909
|
+
{
|
|
910
|
+
default: 'list',
|
|
911
|
+
description:
|
|
912
|
+
'Operation: list sessions, search within a session, grep by glob pattern, expand entries, or view full session. Defaults to list.',
|
|
913
|
+
},
|
|
914
|
+
),
|
|
912
915
|
),
|
|
913
916
|
contextId: Type.Optional(
|
|
914
917
|
Type.String({
|
|
@@ -991,7 +994,7 @@ export function createGoosedumpIntegration(
|
|
|
991
994
|
}
|
|
992
995
|
|
|
993
996
|
try {
|
|
994
|
-
switch (params.action) {
|
|
997
|
+
switch (params.action ?? 'list') {
|
|
995
998
|
case 'list': {
|
|
996
999
|
const listings = goosedumpList(params.provider ?? 'pi');
|
|
997
1000
|
if (listings.length === 0) {
|
|
@@ -1128,7 +1131,7 @@ export function createGoosedumpIntegration(
|
|
|
1128
1131
|
}
|
|
1129
1132
|
|
|
1130
1133
|
default:
|
|
1131
|
-
return textResult(`Unknown action: ${params.action}`);
|
|
1134
|
+
return textResult(`Unknown action: ${params.action ?? 'list'}`);
|
|
1132
1135
|
}
|
|
1133
1136
|
} catch (err) {
|
|
1134
1137
|
const message = err instanceof Error ? err.message : String(err);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-goosedump",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Coding agent context data browser plugin for pi",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goosedump",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@earendil-works/pi-tui": "^0.78.0",
|
|
32
|
-
"@jarkkojs/goosedump": "^0.6.
|
|
32
|
+
"@jarkkojs/goosedump": "^0.6.7",
|
|
33
33
|
"@sinclair/typebox": "^0.34.49"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|