@blogic-cz/agent-tools 0.8.7 → 0.8.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blogic-cz/agent-tools",
3
- "version": "0.8.7",
3
+ "version": "0.8.11",
4
4
  "description": "CLI tools for AI coding agent workflows — GitHub, database, Kubernetes, Azure DevOps, logs, sessions, and audit",
5
5
  "keywords": [
6
6
  "agent",
@@ -36,33 +36,78 @@
36
36
  },
37
37
  "files": [
38
38
  "src/",
39
+ "dist/",
39
40
  "schemas/",
40
41
  "README.md",
41
42
  "LICENSE"
42
43
  ],
43
44
  "type": "module",
45
+ "types": "./dist/index.d.ts",
44
46
  "imports": {
45
- "#shared": "./src/shared/index.ts",
46
- "#shared/*": "./src/shared/*.ts",
47
- "#config": "./src/config/index.ts",
48
- "#config/*": "./src/config/*.ts",
49
- "#gh/*": "./src/gh-tool/*.ts",
50
- "#k8s/*": "./src/k8s-tool/*.ts",
51
- "#db/*": "./src/db-tool/*.ts",
52
- "#logs/*": "./src/logs-tool/*.ts",
53
- "#az/*": "./src/az-tool/*.ts",
54
- "#guard": "./src/credential-guard/index.ts",
55
- "#session/*": "./src/session-tool/*.ts"
47
+ "#shared": {
48
+ "types": "./dist/shared/index.d.ts",
49
+ "default": "./src/shared/index.ts"
50
+ },
51
+ "#shared/*": {
52
+ "types": "./dist/shared/*.d.ts",
53
+ "default": "./src/shared/*.ts"
54
+ },
55
+ "#config": {
56
+ "types": "./dist/config/index.d.ts",
57
+ "default": "./src/config/index.ts"
58
+ },
59
+ "#config/*": {
60
+ "types": "./dist/config/*.d.ts",
61
+ "default": "./src/config/*.ts"
62
+ },
63
+ "#gh/*": {
64
+ "types": "./dist/gh-tool/*.d.ts",
65
+ "default": "./src/gh-tool/*.ts"
66
+ },
67
+ "#k8s/*": {
68
+ "types": "./dist/k8s-tool/*.d.ts",
69
+ "default": "./src/k8s-tool/*.ts"
70
+ },
71
+ "#db/*": {
72
+ "types": "./dist/db-tool/*.d.ts",
73
+ "default": "./src/db-tool/*.ts"
74
+ },
75
+ "#logs/*": {
76
+ "types": "./dist/logs-tool/*.d.ts",
77
+ "default": "./src/logs-tool/*.ts"
78
+ },
79
+ "#az/*": {
80
+ "types": "./dist/az-tool/*.d.ts",
81
+ "default": "./src/az-tool/*.ts"
82
+ },
83
+ "#guard": {
84
+ "types": "./dist/credential-guard/index.d.ts",
85
+ "default": "./src/credential-guard/index.ts"
86
+ },
87
+ "#session/*": {
88
+ "types": "./dist/session-tool/*.d.ts",
89
+ "default": "./src/session-tool/*.ts"
90
+ }
56
91
  },
57
92
  "exports": {
58
- ".": "./src/index.ts",
59
- "./credential-guard": "./src/credential-guard/index.ts",
60
- "./config": "./src/config/index.ts"
93
+ ".": {
94
+ "types": "./dist/index.d.ts",
95
+ "default": "./src/index.ts"
96
+ },
97
+ "./credential-guard": {
98
+ "types": "./dist/credential-guard/index.d.ts",
99
+ "default": "./src/credential-guard/index.ts"
100
+ },
101
+ "./config": {
102
+ "types": "./dist/config/index.d.ts",
103
+ "default": "./src/config/index.ts"
104
+ }
61
105
  },
62
106
  "publishConfig": {
63
107
  "access": "public"
64
108
  },
65
109
  "scripts": {
110
+ "build:types": "tsc -p tsconfig.declarations.json",
66
111
  "check": "bun check.ts",
67
112
  "check:ci": "bun check.ts ci",
68
113
  "format": "oxfmt",
@@ -9,7 +9,7 @@ export type {
9
9
  CliToolOverride,
10
10
  CredentialGuardConfig,
11
11
  GitHubRepoConfig,
12
- } from "./types.ts";
12
+ } from "./types";
13
13
 
14
14
  export {
15
15
  ConfigService,
@@ -2,7 +2,7 @@ import { dirname } from "node:path";
2
2
 
3
3
  import { Data, Effect, Layer, Schema, ServiceMap } from "effect";
4
4
 
5
- import type { AgentToolsConfig, GitHubRepoConfig } from "./types.ts";
5
+ import type { AgentToolsConfig, GitHubRepoConfig } from "./types";
6
6
 
7
7
  const CliToolOverrideSchema = Schema.Struct({
8
8
  tool: Schema.String,
@@ -14,7 +14,7 @@
14
14
  * at infrastructure level (K8s RBAC, file permissions, etc.)
15
15
  */
16
16
 
17
- import type { CliToolOverride, CredentialGuardConfig } from "#config/types.ts";
17
+ import type { CliToolOverride, CredentialGuardConfig } from "#config/types";
18
18
 
19
19
  // ============================================================================
20
20
  // TYPES
package/src/index.ts CHANGED
@@ -1 +1 @@
1
- export type { AgentToolsConfig } from "./config/index.ts";
1
+ export type { AgentToolsConfig } from "./config/index";