@blogic-cz/agent-tools 0.5.1 → 0.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blogic-cz/agent-tools",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
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",
@@ -364,6 +364,14 @@ const fetchJobLogs = Effect.fn("workflow.fetchJobLogs")(function* (opts: {
364
364
  let repoName: string;
365
365
  if (opts.repo !== null) {
366
366
  const parts = opts.repo.split("/");
367
+ if (parts.length !== 2 || !parts[0] || !parts[1]) {
368
+ return yield* new GitHubCommandError({
369
+ message: `Invalid --repo format: "${opts.repo}". Expected "owner/name" (e.g. "blogic-cz/agent-tools").`,
370
+ command: "workflow job-logs",
371
+ exitCode: 1,
372
+ stderr: "",
373
+ });
374
+ }
367
375
  owner = parts[0];
368
376
  repoName = parts[1];
369
377
  } else {