@shanepadgett/tau-agent 0.9.1 → 0.10.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.
@@ -4,14 +4,14 @@ Context stores reusable repository work scopes in `.pi/contexts`. Folder names b
4
4
 
5
5
  Use `/context` to select entries and inject their files through Tau autoread. Use `/context-sync` to reconcile affected scopes from the current Git changes. Tau validates context membership after agent turns and asks the agent to sync uncovered changed files or stale references automatically.
6
6
 
7
- Validation is enabled by default. Configure it globally or per project in Tau settings:
7
+ Validation is disabled by default. Enable it globally or per project in Tau settings:
8
8
 
9
9
  ```json
10
10
  {
11
11
  "extensions": {
12
12
  "context": {
13
13
  "validation": {
14
- "enabled": true,
14
+ "enabled": true,
15
15
  "ignoreGlobs": ["generated/**"]
16
16
  }
17
17
  }
@@ -5,7 +5,7 @@ export default defineTauExtensionSettings({
5
5
  key: "context",
6
6
  defaults: {
7
7
  validation: {
8
- enabled: true as boolean,
8
+ enabled: false as boolean,
9
9
  ignoreGlobs: [] as string[],
10
10
  },
11
11
  },
@@ -15,7 +15,7 @@ export default defineTauExtensionSettings({
15
15
  Type.Object(
16
16
  {
17
17
  enabled: Type.Optional(
18
- Type.Boolean({ default: true, description: "Validate context membership after agent turns." }),
18
+ Type.Boolean({ default: false, description: "Validate context membership after agent turns." }),
19
19
  ),
20
20
  ignoreGlobs: Type.Optional(
21
21
  Type.Array(Type.String(), {
@@ -60,7 +60,7 @@ async function publish(pi: ExtensionAPI, ctx: ExtensionCommandContext): Promise<
60
60
  const manifests = await loadManifests(repo.root);
61
61
  const currentVersion = sharedVersion(manifests);
62
62
  const tag = await latestReleaseTag(git, repo.root);
63
- const bump = await recommendBump(git, repo.root, tag);
63
+ const bump = await recommendBump(git, repo.root, tag, currentVersion);
64
64
  const version = tag ? incrementVersion(currentVersion, bump) : currentVersion;
65
65
  const selectedBump = await ctx.ui.select(`Release ${version}`, [
66
66
  `Use recommended ${bump} bump`,
@@ -153,10 +153,15 @@ async function latestReleaseTag(git: GitRunner, root: string): Promise<string |
153
153
  return tags.split("\n").find((tag) => /^v\d+\.\d+\.\d+$/.test(tag));
154
154
  }
155
155
 
156
- async function recommendBump(git: GitRunner, root: string, tag: string | undefined): Promise<Bump> {
156
+ async function recommendBump(
157
+ git: GitRunner,
158
+ root: string,
159
+ tag: string | undefined,
160
+ currentVersion: string,
161
+ ): Promise<Bump> {
157
162
  const range = tag ? `${tag}..HEAD` : "HEAD";
158
163
  const commits = await git.run(["log", "--format=%B%x00", range], { cwd: root });
159
- if (/BREAKING CHANGE:|^[^\n]*!:/m.test(commits)) return "major";
164
+ if (/BREAKING CHANGE:|^[^\n]*!:/m.test(commits)) return currentVersion.startsWith("0.") ? "minor" : "major";
160
165
  if (/^feat(?:\([^\n]+\))?:/m.test(commits)) return "minor";
161
166
  return "patch";
162
167
  }
@@ -28,7 +28,7 @@ Adds `/commit` for semantic commit grouping, review, and committing selected rep
28
28
 
29
29
  ## context
30
30
 
31
- Adds `/context` to select reusable repository work scopes from `.pi/contexts`, and `/context-sync` to reconcile affected scopes from current Git changes. Tau automatically validates changed-file membership and stale references after agent turns. Folder names are tabs, TOML files are concepts, and TOML sections are selectable entries.
31
+ Adds `/context` to select reusable repository work scopes from `.pi/contexts`, and `/context-sync` to reconcile affected scopes from current Git changes. Context validation is disabled by default; when enabled, Tau checks changed-file membership and stale references after agent turns. Folder names are tabs, TOML files are concepts, and TOML sections are selectable entries.
32
32
 
33
33
  ## explore
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shanepadgett/tau-agent",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Tau is a custom agentic harness built with pi extensions",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "README.md"
29
29
  ],
30
30
  "dependencies": {
31
- "@shanepadgett/tau-tui": "0.9.1",
31
+ "@shanepadgett/tau-tui": "0.10.0",
32
32
  "@toon-format/toon": "2.3.0",
33
33
  "smol-toml": "1.7.0"
34
34
  },
@@ -20,7 +20,7 @@
20
20
  "properties": {
21
21
  "enabled": {
22
22
  "type": "boolean",
23
- "default": true,
23
+ "default": false,
24
24
  "description": "Validate context membership after agent turns."
25
25
  },
26
26
  "ignoreGlobs": {