@kode-ai-tools/cli 0.2.0 → 0.2.2

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.
@@ -14978,11 +14978,11 @@ function Ny(e) {
14978
14978
  }
14979
14979
  function Iy(e) {
14980
14980
  const t = e.clone();
14981
- return t.delete("paths"), t.delete("components"), t.toString();
14981
+ return t.delete("paths"), t.delete("components"), t.toString({ lineWidth: 0 });
14982
14982
  }
14983
14983
  function ma(e) {
14984
14984
  const t = new Ft.Document({});
14985
- return t.add(t.createPair(e.key, e.value)), t.toString();
14985
+ return t.add(t.createPair(e.key, e.value)), t.toString({ lineWidth: 0 });
14986
14986
  }
14987
14987
  function yl(e, t) {
14988
14988
  const n = I.readFileSync(e, "utf-8");
package/package.json CHANGED
@@ -1,35 +1,14 @@
1
1
  {
2
2
  "name": "@kode-ai-tools/cli",
3
3
  "description": "Self-contained CLI for Kode AI Tools",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public",
8
8
  "directory": "dist"
9
9
  },
10
10
  "bin": {
11
- "ai-tools": "./dist/bin.js",
12
- "kat": "./dist/bin.js"
13
- },
14
- "scripts": {
15
- "lint": "biome lint ./src",
16
- "format": "biome format ./src",
17
- "build": "tsc && vite --configLoader runner build",
18
- "dev": "vite --configLoader runner dev",
19
- "test": "vitest"
20
- },
21
- "dependencies": {
22
- "commander": "catalog:cli",
23
- "consola": "^3.4.2",
24
- "yaml": "catalog:shared",
25
- "zod": "catalog:shared",
26
- "@kode-ai-tools/ba-agent": "workspace:*",
27
- "@kode-ai-tools/openapi": "workspace:*",
28
- "@kode-ai-tools/config": "workspace:*",
29
- "@kode-ai-tools/confluence-adapter": "workspace:*"
30
- },
31
- "devDependencies": {
32
- "@types/node": "catalog:toolchain",
33
- "type-fest": "catalog:toolchain"
11
+ "ai-tools": "./bin.js",
12
+ "kat": "./bin.js"
34
13
  }
35
- }
14
+ }
@@ -1,3 +0,0 @@
1
- {
2
- "lastSentAt": "2026-04-13T11:07:39.662Z"
3
- }
package/dist/package.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "name": "@kode-ai-tools/cli",
3
- "description": "Self-contained CLI for Kode AI Tools",
4
- "version": "0.2.0",
5
- "type": "module",
6
- "publishConfig": {
7
- "access": "public",
8
- "directory": "dist"
9
- },
10
- "bin": {
11
- "ai-tools": "./bin.js",
12
- "kat": "./bin.js"
13
- }
14
- }
package/src/cli/run.ts DELETED
@@ -1,13 +0,0 @@
1
- import { baCommand } from '@kode-ai-tools/ba-agent/cli'
2
- import { confluenceAdapterCommand } from '@kode-ai-tools/confluence-adapter/cli'
3
- import { openapiCommand } from '@kode-ai-tools/openapi/cli'
4
- import { Command } from 'commander'
5
-
6
- new Command()
7
- .name('ai-tools')
8
- .description('Kode AI Tools CLI')
9
- .version('0.0.0')
10
- .addCommand(openapiCommand)
11
- .addCommand(confluenceAdapterCommand)
12
- .addCommand(baCommand)
13
- .parse()
package/src/globals.d.ts DELETED
@@ -1,13 +0,0 @@
1
- declare module '*.md?raw' {
2
- const content: string
3
- export default content
4
- }
5
-
6
- declare module 'turndown-plugin-gfm' {
7
- import TurndownService from 'turndown'
8
- export const gfm: TurndownService.Plugin
9
- export const tables: TurndownService.Plugin
10
- export const strikethrough: TurndownService.Plugin
11
- export const taskListItems: TurndownService.Plugin
12
- export const highlightedCodeBlock: TurndownService.Plugin
13
- }
package/tsconfig.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "@kode-ai-tools/toolchain-tsconfig",
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "rootDir": "./src",
6
- "outDir": "./dist",
7
- "paths": {
8
- "~/instance-cli/*": ["./src/*"],
9
- "~/openapi/*": ["./node_modules/@kode-ai-tools/openapi/src/*"],
10
- "~/confluence-adapter/*": ["./node_modules/@kode-ai-tools/confluence-adapter/src/*"],
11
- "~/config/*": ["./node_modules/@kode-ai-tools/config/src/*"],
12
- "~/ba-agent/*": ["./node_modules/@kode-ai-tools/ba-agent/src/*"]
13
- }
14
- },
15
- "include": ["src"],
16
- "exclude": ["dist", "node_modules"]
17
- }
package/vite.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { cliBundlePlugin, createCliConfig } from '@kode-ai-tools/toolchain-vite'
2
- import { defineConfig, mergeConfig, type UserConfig } from 'vite'
3
-
4
- export default defineConfig((env) =>
5
- mergeConfig(createCliConfig(import.meta.dirname, env), {
6
- build: {
7
- lib: {
8
- entry: {
9
- bin: './src/cli/run.ts',
10
- },
11
- formats: ['es'],
12
- },
13
- },
14
- plugins: [cliBundlePlugin()],
15
- } satisfies UserConfig),
16
- )
File without changes
File without changes
File without changes