@blogic-cz/agent-tools 0.8.13 → 0.8.14

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.13",
3
+ "version": "0.8.14",
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",
@@ -114,6 +114,7 @@
114
114
  "format:check": "oxfmt --check",
115
115
  "lint": "oxlint -c ./.oxlintrc.json --deny-warnings",
116
116
  "lint:fix": "oxlint -c ./.oxlintrc.json --fix",
117
+ "update:skills": "bun run .agents/skills/update-packages/references/skills-update-local.ts",
117
118
  "test": "vitest run"
118
119
  },
119
120
  "dependencies": {
@@ -128,7 +128,7 @@ export class LogsService extends ServiceMap.Service<
128
128
 
129
129
  const podResult = yield* k8s
130
130
  .runKubectl(
131
- `-n $(kubectl config view --minify -o jsonpath='{.contexts[0].context.namespace}' 2>/dev/null || echo default) get pods -o jsonpath='{.items[0].metadata.name}'`,
131
+ `get pods --field-selector=status.phase=Running -o jsonpath='{.items[0].metadata.name}'`,
132
132
  false,
133
133
  )
134
134
  .pipe(
@@ -228,7 +228,10 @@ export class LogsService extends ServiceMap.Service<
228
228
  const remotePath = logsConfig.remotePath;
229
229
 
230
230
  const podResult = yield* k8s
231
- .runKubectl(`get pods -o jsonpath='{.items[0].metadata.name}'`, false)
231
+ .runKubectl(
232
+ `get pods --field-selector=status.phase=Running -o jsonpath='{.items[0].metadata.name}'`,
233
+ false,
234
+ )
232
235
  .pipe(
233
236
  Effect.mapError(
234
237
  (error) =>