dsh-permission-rules 0.5.0 → 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/src/runtime.ts CHANGED
@@ -1173,18 +1173,21 @@ export async function apply(ctx: Context, config: Config): Promise<void> {
1173
1173
 
1174
1174
  /**
1175
1175
  * Whether a `@deepseek-ai/dsh-session` version line predates the
1176
- * `ignorable` envelope-marker surface: the `0.1.0-rc.6` line and earlier
1177
- * silently drop the marker from `Session.append` options, so audit events
1178
- * written by those builds land unmarked and break resume on stricter
1179
- * hosts. Non-matching (post-rc.6, stable, or unresolvable) versions are
1180
- * treated as possibly-marker-aware and verified by the append probe.
1176
+ * `ignorable` envelope-marker surface: every released rc line through
1177
+ * `0.1.0-rc.7` silently drops the marker from `Session.append` options
1178
+ * (the stamping fix exists on harness master only — no release carries it
1179
+ * yet), so audit events written by those builds land unmarked and break
1180
+ * resume on stricter hosts. Extend the bound when a new rc line ships that
1181
+ * still drops the marker. Non-matching (later rc, stable, or unresolvable)
1182
+ * versions are treated as possibly-marker-aware and verified by the
1183
+ * append probe.
1181
1184
  * @param version - the installed peer version string.
1182
- * @returns true for the known-unmarked rc.1–rc.6 lines.
1185
+ * @returns true for the known-unmarked rc.1–rc.7 lines.
1183
1186
  */
1184
1187
  export function isUnmarkedHostVersion(version: string): boolean {
1185
1188
  const match = /^0\.1\.0-rc\.(\d+)$/.exec(version.trim())
1186
1189
  if (match === null) return false
1187
- return Number(match[1]) <= 6
1190
+ return Number(match[1]) <= 7
1188
1191
  }
1189
1192
 
1190
1193
  /**