@a1st/aix-schema 0.1.0 → 0.2.0

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/dist/config.d.ts CHANGED
@@ -4366,40 +4366,161 @@ export declare const aiJsonConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
4366
4366
  content?: string | undefined;
4367
4367
  }> | undefined;
4368
4368
  }>, "strip">>]>>;
4369
- hooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pre_tool_use", "post_tool_use", "pre_file_read", "post_file_read", "pre_file_write", "post_file_write", "pre_command", "post_command", "pre_mcp_tool", "post_mcp_tool", "pre_prompt", "pre_compact", "post_compact", "subagent_start", "subagent_stop", "task_created", "task_completed", "worktree_setup", "session_start", "session_end", "agent_stop"]>, z.ZodArray<z.ZodObject<{
4369
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["session_start", "session_end", "setup", "pre_prompt", "user_prompt_expansion", "pre_tool_use", "post_tool_use", "post_tool_use_failure", "post_tool_batch", "pre_tool_selection", "permission_request", "permission_denied", "pre_file_read", "post_file_read", "pre_file_write", "post_file_write", "pre_command", "post_command", "pre_mcp_tool", "post_mcp_tool", "pre_tab_file_read", "post_tab_file_edit", "pre_model_request", "post_model_response", "pre_response_chunk", "pre_agent", "post_agent", "post_response", "post_response_with_transcript", "agent_stop", "subagent_start", "subagent_stop", "subagent_idle", "pre_compact", "post_compact", "task_created", "task_completed", "worktree_setup", "worktree_remove", "instructions_loaded", "config_change", "cwd_changed", "file_changed", "notification", "elicitation", "elicitation_result", "error_occurred"]>, z.ZodArray<z.ZodObject<{
4370
4370
  matcher: z.ZodOptional<z.ZodString>;
4371
+ sequential: z.ZodOptional<z.ZodBoolean>;
4372
+ description: z.ZodOptional<z.ZodString>;
4371
4373
  hooks: z.ZodArray<z.ZodObject<{
4372
- command: z.ZodString;
4374
+ type: z.ZodOptional<z.ZodEnum<["command", "http", "mcp_tool", "prompt", "agent"]>>;
4375
+ command: z.ZodOptional<z.ZodString>;
4376
+ bash: z.ZodOptional<z.ZodString>;
4377
+ powershell: z.ZodOptional<z.ZodString>;
4378
+ shell: z.ZodOptional<z.ZodEnum<["bash", "powershell"]>>;
4373
4379
  timeout: z.ZodOptional<z.ZodNumber>;
4374
4380
  show_output: z.ZodOptional<z.ZodBoolean>;
4375
4381
  working_directory: z.ZodOptional<z.ZodString>;
4382
+ cwd: z.ZodOptional<z.ZodString>;
4383
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4384
+ async: z.ZodOptional<z.ZodBoolean>;
4385
+ async_rewake: z.ZodOptional<z.ZodBoolean>;
4386
+ if: z.ZodOptional<z.ZodString>;
4387
+ status_message: z.ZodOptional<z.ZodString>;
4388
+ once: z.ZodOptional<z.ZodBoolean>;
4389
+ url: z.ZodOptional<z.ZodString>;
4390
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4391
+ allowed_env_vars: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4392
+ mcp_server: z.ZodOptional<z.ZodString>;
4393
+ mcp_tool: z.ZodOptional<z.ZodString>;
4394
+ mcp_input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4395
+ prompt: z.ZodOptional<z.ZodString>;
4396
+ model: z.ZodOptional<z.ZodString>;
4397
+ description: z.ZodOptional<z.ZodString>;
4398
+ name: z.ZodOptional<z.ZodString>;
4399
+ fail_closed: z.ZodOptional<z.ZodBoolean>;
4400
+ loop_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4376
4401
  }, "strip", z.ZodTypeAny, {
4377
- command: string;
4402
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
4403
+ command?: string | undefined;
4404
+ env?: Record<string, string> | undefined;
4405
+ cwd?: string | undefined;
4406
+ shell?: "bash" | "powershell" | undefined;
4407
+ url?: string | undefined;
4408
+ headers?: Record<string, string> | undefined;
4378
4409
  timeout?: number | undefined;
4410
+ description?: string | undefined;
4411
+ mcp_tool?: string | undefined;
4412
+ prompt?: string | undefined;
4413
+ bash?: string | undefined;
4414
+ powershell?: string | undefined;
4379
4415
  show_output?: boolean | undefined;
4380
4416
  working_directory?: string | undefined;
4417
+ async?: boolean | undefined;
4418
+ async_rewake?: boolean | undefined;
4419
+ if?: string | undefined;
4420
+ status_message?: string | undefined;
4421
+ once?: boolean | undefined;
4422
+ allowed_env_vars?: string[] | undefined;
4423
+ mcp_server?: string | undefined;
4424
+ mcp_input?: Record<string, unknown> | undefined;
4425
+ model?: string | undefined;
4426
+ name?: string | undefined;
4427
+ fail_closed?: boolean | undefined;
4428
+ loop_limit?: number | null | undefined;
4381
4429
  }, {
4382
- command: string;
4430
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
4431
+ command?: string | undefined;
4432
+ env?: Record<string, string> | undefined;
4433
+ cwd?: string | undefined;
4434
+ shell?: "bash" | "powershell" | undefined;
4435
+ url?: string | undefined;
4436
+ headers?: Record<string, string> | undefined;
4383
4437
  timeout?: number | undefined;
4438
+ description?: string | undefined;
4439
+ mcp_tool?: string | undefined;
4440
+ prompt?: string | undefined;
4441
+ bash?: string | undefined;
4442
+ powershell?: string | undefined;
4384
4443
  show_output?: boolean | undefined;
4385
4444
  working_directory?: string | undefined;
4445
+ async?: boolean | undefined;
4446
+ async_rewake?: boolean | undefined;
4447
+ if?: string | undefined;
4448
+ status_message?: string | undefined;
4449
+ once?: boolean | undefined;
4450
+ allowed_env_vars?: string[] | undefined;
4451
+ mcp_server?: string | undefined;
4452
+ mcp_input?: Record<string, unknown> | undefined;
4453
+ model?: string | undefined;
4454
+ name?: string | undefined;
4455
+ fail_closed?: boolean | undefined;
4456
+ loop_limit?: number | null | undefined;
4386
4457
  }>, "many">;
4387
4458
  }, "strip", z.ZodTypeAny, {
4388
4459
  hooks: {
4389
- command: string;
4460
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
4461
+ command?: string | undefined;
4462
+ env?: Record<string, string> | undefined;
4463
+ cwd?: string | undefined;
4464
+ shell?: "bash" | "powershell" | undefined;
4465
+ url?: string | undefined;
4466
+ headers?: Record<string, string> | undefined;
4390
4467
  timeout?: number | undefined;
4468
+ description?: string | undefined;
4469
+ mcp_tool?: string | undefined;
4470
+ prompt?: string | undefined;
4471
+ bash?: string | undefined;
4472
+ powershell?: string | undefined;
4391
4473
  show_output?: boolean | undefined;
4392
4474
  working_directory?: string | undefined;
4475
+ async?: boolean | undefined;
4476
+ async_rewake?: boolean | undefined;
4477
+ if?: string | undefined;
4478
+ status_message?: string | undefined;
4479
+ once?: boolean | undefined;
4480
+ allowed_env_vars?: string[] | undefined;
4481
+ mcp_server?: string | undefined;
4482
+ mcp_input?: Record<string, unknown> | undefined;
4483
+ model?: string | undefined;
4484
+ name?: string | undefined;
4485
+ fail_closed?: boolean | undefined;
4486
+ loop_limit?: number | null | undefined;
4393
4487
  }[];
4488
+ description?: string | undefined;
4394
4489
  matcher?: string | undefined;
4490
+ sequential?: boolean | undefined;
4395
4491
  }, {
4396
4492
  hooks: {
4397
- command: string;
4493
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
4494
+ command?: string | undefined;
4495
+ env?: Record<string, string> | undefined;
4496
+ cwd?: string | undefined;
4497
+ shell?: "bash" | "powershell" | undefined;
4498
+ url?: string | undefined;
4499
+ headers?: Record<string, string> | undefined;
4398
4500
  timeout?: number | undefined;
4501
+ description?: string | undefined;
4502
+ mcp_tool?: string | undefined;
4503
+ prompt?: string | undefined;
4504
+ bash?: string | undefined;
4505
+ powershell?: string | undefined;
4399
4506
  show_output?: boolean | undefined;
4400
4507
  working_directory?: string | undefined;
4508
+ async?: boolean | undefined;
4509
+ async_rewake?: boolean | undefined;
4510
+ if?: string | undefined;
4511
+ status_message?: string | undefined;
4512
+ once?: boolean | undefined;
4513
+ allowed_env_vars?: string[] | undefined;
4514
+ mcp_server?: string | undefined;
4515
+ mcp_input?: Record<string, unknown> | undefined;
4516
+ model?: string | undefined;
4517
+ name?: string | undefined;
4518
+ fail_closed?: boolean | undefined;
4519
+ loop_limit?: number | null | undefined;
4401
4520
  }[];
4521
+ description?: string | undefined;
4402
4522
  matcher?: string | undefined;
4523
+ sequential?: boolean | undefined;
4403
4524
  }>, "many">>>;
4404
4525
  aix: z.ZodOptional<z.ZodObject<{
4405
4526
  cache: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -4526,14 +4647,39 @@ export declare const aiJsonConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
4526
4647
  $schema?: string | undefined;
4527
4648
  extends?: string | string[] | undefined;
4528
4649
  scope?: "project" | "user" | undefined;
4529
- hooks?: Partial<Record<"pre_tool_use" | "post_tool_use" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_prompt" | "pre_compact" | "post_compact" | "subagent_start" | "subagent_stop" | "task_created" | "task_completed" | "worktree_setup" | "session_start" | "session_end" | "agent_stop", {
4650
+ hooks?: Partial<Record<"session_start" | "session_end" | "setup" | "pre_prompt" | "user_prompt_expansion" | "pre_tool_use" | "post_tool_use" | "post_tool_use_failure" | "post_tool_batch" | "pre_tool_selection" | "permission_request" | "permission_denied" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_tab_file_read" | "post_tab_file_edit" | "pre_model_request" | "post_model_response" | "pre_response_chunk" | "pre_agent" | "post_agent" | "post_response" | "post_response_with_transcript" | "agent_stop" | "subagent_start" | "subagent_stop" | "subagent_idle" | "pre_compact" | "post_compact" | "task_created" | "task_completed" | "worktree_setup" | "worktree_remove" | "instructions_loaded" | "config_change" | "cwd_changed" | "file_changed" | "notification" | "elicitation" | "elicitation_result" | "error_occurred", {
4530
4651
  hooks: {
4531
- command: string;
4652
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
4653
+ command?: string | undefined;
4654
+ env?: Record<string, string> | undefined;
4655
+ cwd?: string | undefined;
4656
+ shell?: "bash" | "powershell" | undefined;
4657
+ url?: string | undefined;
4658
+ headers?: Record<string, string> | undefined;
4532
4659
  timeout?: number | undefined;
4660
+ description?: string | undefined;
4661
+ mcp_tool?: string | undefined;
4662
+ prompt?: string | undefined;
4663
+ bash?: string | undefined;
4664
+ powershell?: string | undefined;
4533
4665
  show_output?: boolean | undefined;
4534
4666
  working_directory?: string | undefined;
4667
+ async?: boolean | undefined;
4668
+ async_rewake?: boolean | undefined;
4669
+ if?: string | undefined;
4670
+ status_message?: string | undefined;
4671
+ once?: boolean | undefined;
4672
+ allowed_env_vars?: string[] | undefined;
4673
+ mcp_server?: string | undefined;
4674
+ mcp_input?: Record<string, unknown> | undefined;
4675
+ model?: string | undefined;
4676
+ name?: string | undefined;
4677
+ fail_closed?: boolean | undefined;
4678
+ loop_limit?: number | null | undefined;
4535
4679
  }[];
4680
+ description?: string | undefined;
4536
4681
  matcher?: string | undefined;
4682
+ sequential?: boolean | undefined;
4537
4683
  }[]>> | undefined;
4538
4684
  editors?: z.objectOutputType<{
4539
4685
  windsurf: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
@@ -5811,14 +5957,39 @@ export declare const aiJsonConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
5811
5957
  globs?: string[] | undefined;
5812
5958
  content?: string | undefined;
5813
5959
  }> | undefined;
5814
- hooks?: Partial<Record<"pre_tool_use" | "post_tool_use" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_prompt" | "pre_compact" | "post_compact" | "subagent_start" | "subagent_stop" | "task_created" | "task_completed" | "worktree_setup" | "session_start" | "session_end" | "agent_stop", {
5960
+ hooks?: Partial<Record<"session_start" | "session_end" | "setup" | "pre_prompt" | "user_prompt_expansion" | "pre_tool_use" | "post_tool_use" | "post_tool_use_failure" | "post_tool_batch" | "pre_tool_selection" | "permission_request" | "permission_denied" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_tab_file_read" | "post_tab_file_edit" | "pre_model_request" | "post_model_response" | "pre_response_chunk" | "pre_agent" | "post_agent" | "post_response" | "post_response_with_transcript" | "agent_stop" | "subagent_start" | "subagent_stop" | "subagent_idle" | "pre_compact" | "post_compact" | "task_created" | "task_completed" | "worktree_setup" | "worktree_remove" | "instructions_loaded" | "config_change" | "cwd_changed" | "file_changed" | "notification" | "elicitation" | "elicitation_result" | "error_occurred", {
5815
5961
  hooks: {
5816
- command: string;
5962
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
5963
+ command?: string | undefined;
5964
+ env?: Record<string, string> | undefined;
5965
+ cwd?: string | undefined;
5966
+ shell?: "bash" | "powershell" | undefined;
5967
+ url?: string | undefined;
5968
+ headers?: Record<string, string> | undefined;
5817
5969
  timeout?: number | undefined;
5970
+ description?: string | undefined;
5971
+ mcp_tool?: string | undefined;
5972
+ prompt?: string | undefined;
5973
+ bash?: string | undefined;
5974
+ powershell?: string | undefined;
5818
5975
  show_output?: boolean | undefined;
5819
5976
  working_directory?: string | undefined;
5977
+ async?: boolean | undefined;
5978
+ async_rewake?: boolean | undefined;
5979
+ if?: string | undefined;
5980
+ status_message?: string | undefined;
5981
+ once?: boolean | undefined;
5982
+ allowed_env_vars?: string[] | undefined;
5983
+ mcp_server?: string | undefined;
5984
+ mcp_input?: Record<string, unknown> | undefined;
5985
+ model?: string | undefined;
5986
+ name?: string | undefined;
5987
+ fail_closed?: boolean | undefined;
5988
+ loop_limit?: number | null | undefined;
5820
5989
  }[];
5990
+ description?: string | undefined;
5821
5991
  matcher?: string | undefined;
5992
+ sequential?: boolean | undefined;
5822
5993
  }[]>> | undefined;
5823
5994
  skills?: Record<string, string | false | {
5824
5995
  path: string;
@@ -11522,40 +11693,161 @@ export declare const localConfigSchema: z.ZodEffects<z.ZodObject<{
11522
11693
  content?: string | undefined;
11523
11694
  }> | undefined;
11524
11695
  }>, "strip">>]>>;
11525
- hooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pre_tool_use", "post_tool_use", "pre_file_read", "post_file_read", "pre_file_write", "post_file_write", "pre_command", "post_command", "pre_mcp_tool", "post_mcp_tool", "pre_prompt", "pre_compact", "post_compact", "subagent_start", "subagent_stop", "task_created", "task_completed", "worktree_setup", "session_start", "session_end", "agent_stop"]>, z.ZodArray<z.ZodObject<{
11696
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["session_start", "session_end", "setup", "pre_prompt", "user_prompt_expansion", "pre_tool_use", "post_tool_use", "post_tool_use_failure", "post_tool_batch", "pre_tool_selection", "permission_request", "permission_denied", "pre_file_read", "post_file_read", "pre_file_write", "post_file_write", "pre_command", "post_command", "pre_mcp_tool", "post_mcp_tool", "pre_tab_file_read", "post_tab_file_edit", "pre_model_request", "post_model_response", "pre_response_chunk", "pre_agent", "post_agent", "post_response", "post_response_with_transcript", "agent_stop", "subagent_start", "subagent_stop", "subagent_idle", "pre_compact", "post_compact", "task_created", "task_completed", "worktree_setup", "worktree_remove", "instructions_loaded", "config_change", "cwd_changed", "file_changed", "notification", "elicitation", "elicitation_result", "error_occurred"]>, z.ZodArray<z.ZodObject<{
11526
11697
  matcher: z.ZodOptional<z.ZodString>;
11698
+ sequential: z.ZodOptional<z.ZodBoolean>;
11699
+ description: z.ZodOptional<z.ZodString>;
11527
11700
  hooks: z.ZodArray<z.ZodObject<{
11528
- command: z.ZodString;
11701
+ type: z.ZodOptional<z.ZodEnum<["command", "http", "mcp_tool", "prompt", "agent"]>>;
11702
+ command: z.ZodOptional<z.ZodString>;
11703
+ bash: z.ZodOptional<z.ZodString>;
11704
+ powershell: z.ZodOptional<z.ZodString>;
11705
+ shell: z.ZodOptional<z.ZodEnum<["bash", "powershell"]>>;
11529
11706
  timeout: z.ZodOptional<z.ZodNumber>;
11530
11707
  show_output: z.ZodOptional<z.ZodBoolean>;
11531
11708
  working_directory: z.ZodOptional<z.ZodString>;
11709
+ cwd: z.ZodOptional<z.ZodString>;
11710
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11711
+ async: z.ZodOptional<z.ZodBoolean>;
11712
+ async_rewake: z.ZodOptional<z.ZodBoolean>;
11713
+ if: z.ZodOptional<z.ZodString>;
11714
+ status_message: z.ZodOptional<z.ZodString>;
11715
+ once: z.ZodOptional<z.ZodBoolean>;
11716
+ url: z.ZodOptional<z.ZodString>;
11717
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11718
+ allowed_env_vars: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11719
+ mcp_server: z.ZodOptional<z.ZodString>;
11720
+ mcp_tool: z.ZodOptional<z.ZodString>;
11721
+ mcp_input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11722
+ prompt: z.ZodOptional<z.ZodString>;
11723
+ model: z.ZodOptional<z.ZodString>;
11724
+ description: z.ZodOptional<z.ZodString>;
11725
+ name: z.ZodOptional<z.ZodString>;
11726
+ fail_closed: z.ZodOptional<z.ZodBoolean>;
11727
+ loop_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11532
11728
  }, "strip", z.ZodTypeAny, {
11533
- command: string;
11729
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
11730
+ command?: string | undefined;
11731
+ env?: Record<string, string> | undefined;
11732
+ cwd?: string | undefined;
11733
+ shell?: "bash" | "powershell" | undefined;
11734
+ url?: string | undefined;
11735
+ headers?: Record<string, string> | undefined;
11534
11736
  timeout?: number | undefined;
11737
+ description?: string | undefined;
11738
+ mcp_tool?: string | undefined;
11739
+ prompt?: string | undefined;
11740
+ bash?: string | undefined;
11741
+ powershell?: string | undefined;
11535
11742
  show_output?: boolean | undefined;
11536
11743
  working_directory?: string | undefined;
11744
+ async?: boolean | undefined;
11745
+ async_rewake?: boolean | undefined;
11746
+ if?: string | undefined;
11747
+ status_message?: string | undefined;
11748
+ once?: boolean | undefined;
11749
+ allowed_env_vars?: string[] | undefined;
11750
+ mcp_server?: string | undefined;
11751
+ mcp_input?: Record<string, unknown> | undefined;
11752
+ model?: string | undefined;
11753
+ name?: string | undefined;
11754
+ fail_closed?: boolean | undefined;
11755
+ loop_limit?: number | null | undefined;
11537
11756
  }, {
11538
- command: string;
11757
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
11758
+ command?: string | undefined;
11759
+ env?: Record<string, string> | undefined;
11760
+ cwd?: string | undefined;
11761
+ shell?: "bash" | "powershell" | undefined;
11762
+ url?: string | undefined;
11763
+ headers?: Record<string, string> | undefined;
11539
11764
  timeout?: number | undefined;
11765
+ description?: string | undefined;
11766
+ mcp_tool?: string | undefined;
11767
+ prompt?: string | undefined;
11768
+ bash?: string | undefined;
11769
+ powershell?: string | undefined;
11540
11770
  show_output?: boolean | undefined;
11541
11771
  working_directory?: string | undefined;
11772
+ async?: boolean | undefined;
11773
+ async_rewake?: boolean | undefined;
11774
+ if?: string | undefined;
11775
+ status_message?: string | undefined;
11776
+ once?: boolean | undefined;
11777
+ allowed_env_vars?: string[] | undefined;
11778
+ mcp_server?: string | undefined;
11779
+ mcp_input?: Record<string, unknown> | undefined;
11780
+ model?: string | undefined;
11781
+ name?: string | undefined;
11782
+ fail_closed?: boolean | undefined;
11783
+ loop_limit?: number | null | undefined;
11542
11784
  }>, "many">;
11543
11785
  }, "strip", z.ZodTypeAny, {
11544
11786
  hooks: {
11545
- command: string;
11787
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
11788
+ command?: string | undefined;
11789
+ env?: Record<string, string> | undefined;
11790
+ cwd?: string | undefined;
11791
+ shell?: "bash" | "powershell" | undefined;
11792
+ url?: string | undefined;
11793
+ headers?: Record<string, string> | undefined;
11546
11794
  timeout?: number | undefined;
11795
+ description?: string | undefined;
11796
+ mcp_tool?: string | undefined;
11797
+ prompt?: string | undefined;
11798
+ bash?: string | undefined;
11799
+ powershell?: string | undefined;
11547
11800
  show_output?: boolean | undefined;
11548
11801
  working_directory?: string | undefined;
11802
+ async?: boolean | undefined;
11803
+ async_rewake?: boolean | undefined;
11804
+ if?: string | undefined;
11805
+ status_message?: string | undefined;
11806
+ once?: boolean | undefined;
11807
+ allowed_env_vars?: string[] | undefined;
11808
+ mcp_server?: string | undefined;
11809
+ mcp_input?: Record<string, unknown> | undefined;
11810
+ model?: string | undefined;
11811
+ name?: string | undefined;
11812
+ fail_closed?: boolean | undefined;
11813
+ loop_limit?: number | null | undefined;
11549
11814
  }[];
11815
+ description?: string | undefined;
11550
11816
  matcher?: string | undefined;
11817
+ sequential?: boolean | undefined;
11551
11818
  }, {
11552
11819
  hooks: {
11553
- command: string;
11820
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
11821
+ command?: string | undefined;
11822
+ env?: Record<string, string> | undefined;
11823
+ cwd?: string | undefined;
11824
+ shell?: "bash" | "powershell" | undefined;
11825
+ url?: string | undefined;
11826
+ headers?: Record<string, string> | undefined;
11554
11827
  timeout?: number | undefined;
11828
+ description?: string | undefined;
11829
+ mcp_tool?: string | undefined;
11830
+ prompt?: string | undefined;
11831
+ bash?: string | undefined;
11832
+ powershell?: string | undefined;
11555
11833
  show_output?: boolean | undefined;
11556
11834
  working_directory?: string | undefined;
11835
+ async?: boolean | undefined;
11836
+ async_rewake?: boolean | undefined;
11837
+ if?: string | undefined;
11838
+ status_message?: string | undefined;
11839
+ once?: boolean | undefined;
11840
+ allowed_env_vars?: string[] | undefined;
11841
+ mcp_server?: string | undefined;
11842
+ mcp_input?: Record<string, unknown> | undefined;
11843
+ model?: string | undefined;
11844
+ name?: string | undefined;
11845
+ fail_closed?: boolean | undefined;
11846
+ loop_limit?: number | null | undefined;
11557
11847
  }[];
11848
+ description?: string | undefined;
11558
11849
  matcher?: string | undefined;
11850
+ sequential?: boolean | undefined;
11559
11851
  }>, "many">>>;
11560
11852
  aix: z.ZodOptional<z.ZodObject<{
11561
11853
  cache: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -11603,14 +11895,39 @@ export declare const localConfigSchema: z.ZodEffects<z.ZodObject<{
11603
11895
  globs?: string[] | undefined;
11604
11896
  content?: string | undefined;
11605
11897
  }> | undefined;
11606
- hooks?: Partial<Record<"pre_tool_use" | "post_tool_use" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_prompt" | "pre_compact" | "post_compact" | "subagent_start" | "subagent_stop" | "task_created" | "task_completed" | "worktree_setup" | "session_start" | "session_end" | "agent_stop", {
11898
+ hooks?: Partial<Record<"session_start" | "session_end" | "setup" | "pre_prompt" | "user_prompt_expansion" | "pre_tool_use" | "post_tool_use" | "post_tool_use_failure" | "post_tool_batch" | "pre_tool_selection" | "permission_request" | "permission_denied" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_tab_file_read" | "post_tab_file_edit" | "pre_model_request" | "post_model_response" | "pre_response_chunk" | "pre_agent" | "post_agent" | "post_response" | "post_response_with_transcript" | "agent_stop" | "subagent_start" | "subagent_stop" | "subagent_idle" | "pre_compact" | "post_compact" | "task_created" | "task_completed" | "worktree_setup" | "worktree_remove" | "instructions_loaded" | "config_change" | "cwd_changed" | "file_changed" | "notification" | "elicitation" | "elicitation_result" | "error_occurred", {
11607
11899
  hooks: {
11608
- command: string;
11900
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
11901
+ command?: string | undefined;
11902
+ env?: Record<string, string> | undefined;
11903
+ cwd?: string | undefined;
11904
+ shell?: "bash" | "powershell" | undefined;
11905
+ url?: string | undefined;
11906
+ headers?: Record<string, string> | undefined;
11609
11907
  timeout?: number | undefined;
11908
+ description?: string | undefined;
11909
+ mcp_tool?: string | undefined;
11910
+ prompt?: string | undefined;
11911
+ bash?: string | undefined;
11912
+ powershell?: string | undefined;
11610
11913
  show_output?: boolean | undefined;
11611
11914
  working_directory?: string | undefined;
11915
+ async?: boolean | undefined;
11916
+ async_rewake?: boolean | undefined;
11917
+ if?: string | undefined;
11918
+ status_message?: string | undefined;
11919
+ once?: boolean | undefined;
11920
+ allowed_env_vars?: string[] | undefined;
11921
+ mcp_server?: string | undefined;
11922
+ mcp_input?: Record<string, unknown> | undefined;
11923
+ model?: string | undefined;
11924
+ name?: string | undefined;
11925
+ fail_closed?: boolean | undefined;
11926
+ loop_limit?: number | null | undefined;
11612
11927
  }[];
11928
+ description?: string | undefined;
11613
11929
  matcher?: string | undefined;
11930
+ sequential?: boolean | undefined;
11614
11931
  }[]>> | undefined;
11615
11932
  skills?: Record<string, string | false | {
11616
11933
  path: string;
@@ -12963,14 +13280,39 @@ export declare const localConfigSchema: z.ZodEffects<z.ZodObject<{
12963
13280
  globs?: string[] | undefined;
12964
13281
  content?: string | undefined;
12965
13282
  }> | undefined;
12966
- hooks?: Partial<Record<"pre_tool_use" | "post_tool_use" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_prompt" | "pre_compact" | "post_compact" | "subagent_start" | "subagent_stop" | "task_created" | "task_completed" | "worktree_setup" | "session_start" | "session_end" | "agent_stop", {
13283
+ hooks?: Partial<Record<"session_start" | "session_end" | "setup" | "pre_prompt" | "user_prompt_expansion" | "pre_tool_use" | "post_tool_use" | "post_tool_use_failure" | "post_tool_batch" | "pre_tool_selection" | "permission_request" | "permission_denied" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_tab_file_read" | "post_tab_file_edit" | "pre_model_request" | "post_model_response" | "pre_response_chunk" | "pre_agent" | "post_agent" | "post_response" | "post_response_with_transcript" | "agent_stop" | "subagent_start" | "subagent_stop" | "subagent_idle" | "pre_compact" | "post_compact" | "task_created" | "task_completed" | "worktree_setup" | "worktree_remove" | "instructions_loaded" | "config_change" | "cwd_changed" | "file_changed" | "notification" | "elicitation" | "elicitation_result" | "error_occurred", {
12967
13284
  hooks: {
12968
- command: string;
13285
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
13286
+ command?: string | undefined;
13287
+ env?: Record<string, string> | undefined;
13288
+ cwd?: string | undefined;
13289
+ shell?: "bash" | "powershell" | undefined;
13290
+ url?: string | undefined;
13291
+ headers?: Record<string, string> | undefined;
12969
13292
  timeout?: number | undefined;
13293
+ description?: string | undefined;
13294
+ mcp_tool?: string | undefined;
13295
+ prompt?: string | undefined;
13296
+ bash?: string | undefined;
13297
+ powershell?: string | undefined;
12970
13298
  show_output?: boolean | undefined;
12971
13299
  working_directory?: string | undefined;
13300
+ async?: boolean | undefined;
13301
+ async_rewake?: boolean | undefined;
13302
+ if?: string | undefined;
13303
+ status_message?: string | undefined;
13304
+ once?: boolean | undefined;
13305
+ allowed_env_vars?: string[] | undefined;
13306
+ mcp_server?: string | undefined;
13307
+ mcp_input?: Record<string, unknown> | undefined;
13308
+ model?: string | undefined;
13309
+ name?: string | undefined;
13310
+ fail_closed?: boolean | undefined;
13311
+ loop_limit?: number | null | undefined;
12972
13312
  }[];
13313
+ description?: string | undefined;
12973
13314
  matcher?: string | undefined;
13315
+ sequential?: boolean | undefined;
12974
13316
  }[]>> | undefined;
12975
13317
  skills?: Record<string, string | false | {
12976
13318
  path: string;
@@ -14323,14 +14665,39 @@ export declare const localConfigSchema: z.ZodEffects<z.ZodObject<{
14323
14665
  globs?: string[] | undefined;
14324
14666
  content?: string | undefined;
14325
14667
  }> | undefined;
14326
- hooks?: Partial<Record<"pre_tool_use" | "post_tool_use" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_prompt" | "pre_compact" | "post_compact" | "subagent_start" | "subagent_stop" | "task_created" | "task_completed" | "worktree_setup" | "session_start" | "session_end" | "agent_stop", {
14668
+ hooks?: Partial<Record<"session_start" | "session_end" | "setup" | "pre_prompt" | "user_prompt_expansion" | "pre_tool_use" | "post_tool_use" | "post_tool_use_failure" | "post_tool_batch" | "pre_tool_selection" | "permission_request" | "permission_denied" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_tab_file_read" | "post_tab_file_edit" | "pre_model_request" | "post_model_response" | "pre_response_chunk" | "pre_agent" | "post_agent" | "post_response" | "post_response_with_transcript" | "agent_stop" | "subagent_start" | "subagent_stop" | "subagent_idle" | "pre_compact" | "post_compact" | "task_created" | "task_completed" | "worktree_setup" | "worktree_remove" | "instructions_loaded" | "config_change" | "cwd_changed" | "file_changed" | "notification" | "elicitation" | "elicitation_result" | "error_occurred", {
14327
14669
  hooks: {
14328
- command: string;
14670
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
14671
+ command?: string | undefined;
14672
+ env?: Record<string, string> | undefined;
14673
+ cwd?: string | undefined;
14674
+ shell?: "bash" | "powershell" | undefined;
14675
+ url?: string | undefined;
14676
+ headers?: Record<string, string> | undefined;
14329
14677
  timeout?: number | undefined;
14678
+ description?: string | undefined;
14679
+ mcp_tool?: string | undefined;
14680
+ prompt?: string | undefined;
14681
+ bash?: string | undefined;
14682
+ powershell?: string | undefined;
14330
14683
  show_output?: boolean | undefined;
14331
14684
  working_directory?: string | undefined;
14685
+ async?: boolean | undefined;
14686
+ async_rewake?: boolean | undefined;
14687
+ if?: string | undefined;
14688
+ status_message?: string | undefined;
14689
+ once?: boolean | undefined;
14690
+ allowed_env_vars?: string[] | undefined;
14691
+ mcp_server?: string | undefined;
14692
+ mcp_input?: Record<string, unknown> | undefined;
14693
+ model?: string | undefined;
14694
+ name?: string | undefined;
14695
+ fail_closed?: boolean | undefined;
14696
+ loop_limit?: number | null | undefined;
14332
14697
  }[];
14698
+ description?: string | undefined;
14333
14699
  matcher?: string | undefined;
14700
+ sequential?: boolean | undefined;
14334
14701
  }[]>> | undefined;
14335
14702
  skills?: Record<string, string | false | {
14336
14703
  path: string;
@@ -15683,14 +16050,39 @@ export declare const localConfigSchema: z.ZodEffects<z.ZodObject<{
15683
16050
  globs?: string[] | undefined;
15684
16051
  content?: string | undefined;
15685
16052
  }> | undefined;
15686
- hooks?: Partial<Record<"pre_tool_use" | "post_tool_use" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_prompt" | "pre_compact" | "post_compact" | "subagent_start" | "subagent_stop" | "task_created" | "task_completed" | "worktree_setup" | "session_start" | "session_end" | "agent_stop", {
16053
+ hooks?: Partial<Record<"session_start" | "session_end" | "setup" | "pre_prompt" | "user_prompt_expansion" | "pre_tool_use" | "post_tool_use" | "post_tool_use_failure" | "post_tool_batch" | "pre_tool_selection" | "permission_request" | "permission_denied" | "pre_file_read" | "post_file_read" | "pre_file_write" | "post_file_write" | "pre_command" | "post_command" | "pre_mcp_tool" | "post_mcp_tool" | "pre_tab_file_read" | "post_tab_file_edit" | "pre_model_request" | "post_model_response" | "pre_response_chunk" | "pre_agent" | "post_agent" | "post_response" | "post_response_with_transcript" | "agent_stop" | "subagent_start" | "subagent_stop" | "subagent_idle" | "pre_compact" | "post_compact" | "task_created" | "task_completed" | "worktree_setup" | "worktree_remove" | "instructions_loaded" | "config_change" | "cwd_changed" | "file_changed" | "notification" | "elicitation" | "elicitation_result" | "error_occurred", {
15687
16054
  hooks: {
15688
- command: string;
16055
+ type?: "command" | "http" | "mcp_tool" | "prompt" | "agent" | undefined;
16056
+ command?: string | undefined;
16057
+ env?: Record<string, string> | undefined;
16058
+ cwd?: string | undefined;
16059
+ shell?: "bash" | "powershell" | undefined;
16060
+ url?: string | undefined;
16061
+ headers?: Record<string, string> | undefined;
15689
16062
  timeout?: number | undefined;
16063
+ description?: string | undefined;
16064
+ mcp_tool?: string | undefined;
16065
+ prompt?: string | undefined;
16066
+ bash?: string | undefined;
16067
+ powershell?: string | undefined;
15690
16068
  show_output?: boolean | undefined;
15691
16069
  working_directory?: string | undefined;
16070
+ async?: boolean | undefined;
16071
+ async_rewake?: boolean | undefined;
16072
+ if?: string | undefined;
16073
+ status_message?: string | undefined;
16074
+ once?: boolean | undefined;
16075
+ allowed_env_vars?: string[] | undefined;
16076
+ mcp_server?: string | undefined;
16077
+ mcp_input?: Record<string, unknown> | undefined;
16078
+ model?: string | undefined;
16079
+ name?: string | undefined;
16080
+ fail_closed?: boolean | undefined;
16081
+ loop_limit?: number | null | undefined;
15692
16082
  }[];
16083
+ description?: string | undefined;
15693
16084
  matcher?: string | undefined;
16085
+ sequential?: boolean | undefined;
15694
16086
  }[]>> | undefined;
15695
16087
  skills?: Record<string, string | false | {
15696
16088
  path: string;