@xagent/one-shot 1.1.105 → 1.1.106

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## 1.1.105 – Logo Assets & NPM Publication Complete
1
+ ## 1.1.106 – Logo Assets & NPM Publication Complete
2
2
 
3
3
  ✅ **Live on NPM**: [@xagent/one-shot](https://www.npmjs.com/package/@xagent/one-shot) - Fully published and ready for global installation
4
4
 
package/dist/index.js CHANGED
@@ -6316,14 +6316,14 @@ var init_ast_parser = __esm({
6316
6316
  });
6317
6317
  const symbols = this.extractTypeScriptSymbols(ast, content);
6318
6318
  const imports = this.extractTypeScriptImports(ast);
6319
- const exports = this.extractTypeScriptExports(ast);
6319
+ const exports$1 = this.extractTypeScriptExports(ast);
6320
6320
  const tree = this.convertTypeScriptAST(ast);
6321
6321
  return {
6322
6322
  language,
6323
6323
  tree,
6324
6324
  symbols,
6325
6325
  imports,
6326
- exports,
6326
+ exports: exports$1,
6327
6327
  errors
6328
6328
  };
6329
6329
  } catch (error) {
@@ -6347,14 +6347,14 @@ var init_ast_parser = __esm({
6347
6347
  const tree = parser.parse(content);
6348
6348
  const symbols = this.extractTreeSitterSymbols(tree.rootNode, content, language);
6349
6349
  const imports = this.extractTreeSitterImports(tree.rootNode, content, language);
6350
- const exports = this.extractTreeSitterExports(tree.rootNode, content, language);
6350
+ const exports$1 = this.extractTreeSitterExports(tree.rootNode, content, language);
6351
6351
  const astTree = this.convertTreeSitterAST(tree.rootNode, content);
6352
6352
  return {
6353
6353
  language,
6354
6354
  tree: astTree,
6355
6355
  symbols,
6356
6356
  imports,
6357
- exports,
6357
+ exports: exports$1,
6358
6358
  errors: []
6359
6359
  };
6360
6360
  }
@@ -6531,13 +6531,13 @@ var init_ast_parser = __esm({
6531
6531
  return imports;
6532
6532
  }
6533
6533
  extractTypeScriptExports(ast) {
6534
- const exports = [];
6534
+ const exports$1 = [];
6535
6535
  const visit = (node) => {
6536
6536
  switch (node.type) {
6537
6537
  case "ExportNamedDeclaration":
6538
6538
  if (node.declaration) {
6539
6539
  if (node.declaration.id?.name) {
6540
- exports.push({
6540
+ exports$1.push({
6541
6541
  name: node.declaration.id.name,
6542
6542
  type: this.getDeclarationType(node.declaration.type),
6543
6543
  startPosition: {
@@ -6548,7 +6548,7 @@ var init_ast_parser = __esm({
6548
6548
  }
6549
6549
  } else if (node.specifiers) {
6550
6550
  node.specifiers.forEach((spec) => {
6551
- exports.push({
6551
+ exports$1.push({
6552
6552
  name: spec.exported.name,
6553
6553
  type: "variable",
6554
6554
  // Default to variable
@@ -6563,7 +6563,7 @@ var init_ast_parser = __esm({
6563
6563
  break;
6564
6564
  case "ExportDefaultDeclaration":
6565
6565
  const name = node.declaration?.id?.name || "default";
6566
- exports.push({
6566
+ exports$1.push({
6567
6567
  name,
6568
6568
  type: this.getDeclarationType(node.declaration?.type) || "default",
6569
6569
  startPosition: {
@@ -6590,7 +6590,7 @@ var init_ast_parser = __esm({
6590
6590
  }
6591
6591
  };
6592
6592
  visit(ast);
6593
- return exports;
6593
+ return exports$1;
6594
6594
  }
6595
6595
  extractTreeSitterSymbols(node, content, language) {
6596
6596
  const symbols = [];
@@ -6675,11 +6675,11 @@ var init_ast_parser = __esm({
6675
6675
  return imports;
6676
6676
  }
6677
6677
  extractTreeSitterExports(node, content, language) {
6678
- const exports = [];
6678
+ const exports$1 = [];
6679
6679
  const visit = (node2) => {
6680
6680
  if (node2.type === "export_statement") {
6681
6681
  const name = this.extractNodeName(node2, "name") || "unknown";
6682
- exports.push({
6682
+ exports$1.push({
6683
6683
  name,
6684
6684
  type: "variable",
6685
6685
  startPosition: {
@@ -6691,7 +6691,7 @@ var init_ast_parser = __esm({
6691
6691
  node2.children?.forEach((child) => visit(child));
6692
6692
  };
6693
6693
  visit(node);
6694
- return exports;
6694
+ return exports$1;
6695
6695
  }
6696
6696
  convertTypeScriptAST(node) {
6697
6697
  return {
@@ -7241,7 +7241,7 @@ var init_dependency_analyzer = __esm({
7241
7241
  const parsed = JSON.parse(parseResult.output);
7242
7242
  if (parsed.success && parsed.result) {
7243
7243
  const imports = parsed.result.imports || [];
7244
- const exports = parsed.result.exports || [];
7244
+ const exports$1 = parsed.result.exports || [];
7245
7245
  const dependencies = await this.resolveImportPaths(
7246
7246
  imports,
7247
7247
  filePath,
@@ -7252,7 +7252,7 @@ var init_dependency_analyzer = __esm({
7252
7252
  filePath: path8__default.relative(rootPath, filePath),
7253
7253
  absolutePath: filePath,
7254
7254
  imports,
7255
- exports,
7255
+ exports: exports$1,
7256
7256
  dependencies,
7257
7257
  dependents: [],
7258
7258
  isEntryPoint: false,
@@ -18500,7 +18500,7 @@ var init_package = __esm({
18500
18500
  package_default = {
18501
18501
  type: "module",
18502
18502
  name: "@xagent/one-shot",
18503
- version: "1.1.105",
18503
+ version: "1.1.106",
18504
18504
  description: "An open-source AI agent that brings advanced AI capabilities directly into your terminal with automatic documentation updates.",
18505
18505
  main: "dist/index.js",
18506
18506
  module: "dist/index.js",
@@ -23804,11 +23804,11 @@ var init_toggle_confirmations = __esm({
23804
23804
 
23805
23805
  // package.json
23806
23806
  var require_package = __commonJS({
23807
- "package.json"(exports, module) {
23807
+ "package.json"(exports$1, module) {
23808
23808
  module.exports = {
23809
23809
  type: "module",
23810
23810
  name: "@xagent/one-shot",
23811
- version: "1.1.105",
23811
+ version: "1.1.106",
23812
23812
  description: "An open-source AI agent that brings advanced AI capabilities directly into your terminal with automatic documentation updates.",
23813
23813
  main: "dist/index.js",
23814
23814
  module: "dist/index.js",