opencode-swarm 7.103.0 → 7.103.1
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/dist/cli/{dispatch-kb69qw40.js → dispatch-e4ejrsz8.js} +1 -1
- package/dist/cli/{guardrail-explain-346nar9k.js → guardrail-explain-re6ffd1r.js} +3 -3
- package/dist/cli/{index-adz3nk9b.js → index-8w4d325g.js} +110 -2
- package/dist/cli/{index-a50d5e0h.js → index-jmh7av7a.js} +3 -3
- package/dist/cli/{index-gvf9afe8.js → index-w8rgb6re.js} +1 -1
- package/dist/cli/{index-j21pr24p.js → index-xtsxkeem.js} +8 -8
- package/dist/cli/index.js +2 -2
- package/dist/graph/types.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/lang/symbol-graph.d.ts +8 -1
- package/dist/tools/repo-graph/builder.d.ts +1 -1
- package/dist/tools/repo-graph/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,11 +10,18 @@ export interface FileSymbolFacts {
|
|
|
10
10
|
}>;
|
|
11
11
|
imports: Array<{
|
|
12
12
|
specifier: string;
|
|
13
|
-
importType: 'commonjs' | 'named' | 'namespace' | 'default';
|
|
13
|
+
importType: 'commonjs' | 'named' | 'namespace' | 'default' | 'sideeffect' | 'type';
|
|
14
14
|
bindings: Array<{
|
|
15
15
|
imported: string;
|
|
16
16
|
local: string;
|
|
17
17
|
}>;
|
|
18
|
+
reExport?: boolean;
|
|
19
|
+
exportedBindings?: Array<{
|
|
20
|
+
imported: string;
|
|
21
|
+
exported: string;
|
|
22
|
+
}>;
|
|
23
|
+
startLine?: number;
|
|
24
|
+
endLine?: number;
|
|
18
25
|
}>;
|
|
19
26
|
refs: Array<{
|
|
20
27
|
identifier: string;
|
|
@@ -84,7 +84,7 @@ interface ParsedImport {
|
|
|
84
84
|
/** The module specifier (e.g., './foo', 'lodash') */
|
|
85
85
|
specifier: string;
|
|
86
86
|
/** The type of import */
|
|
87
|
-
importType: 'default' | 'named' | 'namespace' | 'require' | 'sideeffect';
|
|
87
|
+
importType: 'default' | 'named' | 'namespace' | 'require' | 'sideeffect' | 'type';
|
|
88
88
|
/** Named imported symbols when statically detectable */
|
|
89
89
|
importedSymbols: string[];
|
|
90
90
|
/** Alias-aware imported→local bindings for usage attribution */
|
|
@@ -126,7 +126,7 @@ export interface GraphNode {
|
|
|
126
126
|
/** Optional code ontology facts for agent context/preflight packets */
|
|
127
127
|
ontology?: FileOntology;
|
|
128
128
|
}
|
|
129
|
-
export declare const IMPORT_TYPE_VALUES: readonly ["default", "named", "namespace", "require", "sideeffect"];
|
|
129
|
+
export declare const IMPORT_TYPE_VALUES: readonly ["default", "named", "namespace", "require", "sideeffect", "type"];
|
|
130
130
|
export type ImportType = (typeof IMPORT_TYPE_VALUES)[number];
|
|
131
131
|
/**
|
|
132
132
|
* An edge in the dependency graph representing a dependency relationship.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.103.
|
|
3
|
+
"version": "7.103.1",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|