better-notion 1.1.0__py3-none-any.whl → 1.3.0__py3-none-any.whl

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,10 +4,12 @@ Official plugins for Better Notion CLI.
4
4
  This package contains officially maintained plugins that extend
5
5
  the CLI with commonly-needed functionality.
6
6
  """
7
+ from better_notion.plugins.official.agents import AgentsPlugin
7
8
  from better_notion.plugins.official.productivity import ProductivityPlugin
8
9
 
9
- __all__ = ["ProductivityPlugin"]
10
+ __all__ = ["AgentsPlugin", "ProductivityPlugin"]
10
11
 
11
12
  OFFICIAL_PLUGINS = [
13
+ AgentsPlugin,
12
14
  ProductivityPlugin,
13
15
  ]
@@ -346,31 +346,31 @@ class AgentsPlugin(CombinedPluginInterface):
346
346
  # Register agents app to main CLI
347
347
  app.add_typer(agents_app)
348
348
 
349
- # Import and register CRUD commands
349
+ # Import and register CRUD commands as sub-commands of agents
350
350
  from better_notion.plugins.official import agents_cli
351
351
 
352
- # Organizations commands
352
+ # Organizations commands (under agents)
353
353
  orgs_app = typer.Typer(name="orgs", help="Organizations management commands")
354
354
  orgs_app.command("list")(agents_cli.orgs_list)
355
355
  orgs_app.command("get")(agents_cli.orgs_get)
356
356
  orgs_app.command("create")(agents_cli.orgs_create)
357
- app.add_typer(orgs_app)
357
+ agents_app.add_typer(orgs_app)
358
358
 
359
- # Projects commands
359
+ # Projects commands (under agents)
360
360
  projects_app = typer.Typer(name="projects", help="Projects management commands")
361
361
  projects_app.command("list")(projects_list_with_cli := lambda **kwargs: agents_cli.projects_list(**kwargs))
362
362
  projects_app.command("get")(projects_get_with_cli := lambda project_id: agents_cli.projects_get(project_id))
363
363
  projects_app.command("create")(lambda **kwargs: agents_cli.projects_create(**kwargs))
364
- app.add_typer(projects_app)
364
+ agents_app.add_typer(projects_app)
365
365
 
366
- # Versions commands
366
+ # Versions commands (under agents)
367
367
  versions_app = typer.Typer(name="versions", help="Versions management commands")
368
368
  versions_app.command("list")(lambda **kwargs: agents_cli.versions_list(**kwargs))
369
369
  versions_app.command("get")(lambda version_id: agents_cli.versions_get(version_id))
370
370
  versions_app.command("create")(lambda **kwargs: agents_cli.versions_create(**kwargs))
371
- app.add_typer(versions_app)
371
+ agents_app.add_typer(versions_app)
372
372
 
373
- # Tasks commands
373
+ # Tasks commands (under agents)
374
374
  tasks_app = typer.Typer(name="tasks", help="Tasks management commands")
375
375
  tasks_app.command("list")(lambda **kwargs: agents_cli.tasks_list(**kwargs))
376
376
  tasks_app.command("get")(lambda task_id: agents_cli.tasks_get(task_id))
@@ -380,9 +380,9 @@ class AgentsPlugin(CombinedPluginInterface):
380
380
  tasks_app.command("start")(lambda task_id: agents_cli.tasks_start(task_id))
381
381
  tasks_app.command("complete")(lambda **kwargs: agents_cli.tasks_complete(**kwargs))
382
382
  tasks_app.command("can-start")(lambda task_id: agents_cli.tasks_can_start(task_id))
383
- app.add_typer(tasks_app)
383
+ agents_app.add_typer(tasks_app)
384
384
 
385
- # Ideas commands
385
+ # Ideas commands (under agents)
386
386
  ideas_app = typer.Typer(name="ideas", help="Ideas management commands")
387
387
  ideas_app.command("list")(lambda **kwargs: agents_cli.ideas_list(**kwargs))
388
388
  ideas_app.command("get")(lambda idea_id: agents_cli.ideas_get(idea_id))
@@ -390,18 +390,18 @@ class AgentsPlugin(CombinedPluginInterface):
390
390
  ideas_app.command("review")(lambda count: agents_cli.ideas_review(count))
391
391
  ideas_app.command("accept")(lambda idea_id: agents_cli.ideas_accept(idea_id))
392
392
  ideas_app.command("reject")(lambda idea_id, reason: agents_cli.ideas_reject(idea_id, reason))
393
- app.add_typer(ideas_app)
393
+ agents_app.add_typer(ideas_app)
394
394
 
395
- # Work Issues commands
395
+ # Work Issues commands (under agents)
396
396
  work_issues_app = typer.Typer(name="work-issues", help="Work Issues management commands")
397
397
  work_issues_app.command("list")(lambda **kwargs: agents_cli.work_issues_list(**kwargs))
398
398
  work_issues_app.command("get")(lambda issue_id: agents_cli.work_issues_get(issue_id))
399
399
  work_issues_app.command("create")(lambda **kwargs: agents_cli.work_issues_create(**kwargs))
400
400
  work_issues_app.command("resolve")(lambda issue_id, resolution: agents_cli.work_issues_resolve(issue_id, resolution))
401
401
  work_issues_app.command("blockers")(lambda project_id: agents_cli.work_issues_blockers(project_id))
402
- app.add_typer(work_issues_app)
402
+ agents_app.add_typer(work_issues_app)
403
403
 
404
- # Incidents commands
404
+ # Incidents commands (under agents)
405
405
  incidents_app = typer.Typer(name="incidents", help="Incidents management commands")
406
406
  incidents_app.command("list")(lambda **kwargs: agents_cli.incidents_list(**kwargs))
407
407
  incidents_app.command("get")(lambda incident_id: agents_cli.incidents_get(incident_id))
@@ -409,7 +409,7 @@ class AgentsPlugin(CombinedPluginInterface):
409
409
  incidents_app.command("resolve")(lambda incident_id, resolution: agents_cli.incidents_resolve(incident_id, resolution))
410
410
  incidents_app.command("mttr")(lambda **kwargs: agents_cli.incidents_mttr(**kwargs))
411
411
  incidents_app.command("sla-violations")(lambda: agents_cli.incidents_sla_violations())
412
- app.add_typer(incidents_app)
412
+ agents_app.add_typer(incidents_app)
413
413
 
414
414
  def register_sdk_models(self) -> dict[str, type]:
415
415
  """Register workflow entity models."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: better-notion
3
- Version: 1.1.0
3
+ Version: 1.3.0
4
4
  Summary: A high-level Python SDK for the Notion API with developer experience in mind.
5
5
  Project-URL: Homepage, https://github.com/nesalia-inc/better-notion
6
6
  Project-URL: Documentation, https://github.com/nesalia-inc/better-notion#readme
@@ -106,8 +106,8 @@ better_notion/plugins/__init__.py,sha256=ZbaLy0BS4_zWfEyCW0Xv9EhK427cEhrKIap_8DR
106
106
  better_notion/plugins/base.py,sha256=3h9jOZzS--UqmVW3RREtcQ2h1GTWWPUryTencsJKhTM,8452
107
107
  better_notion/plugins/loader.py,sha256=zCWsMdJyvZs1IHFm0zjEiqm_l_5jB1Uw4x30Kq8rLS4,9527
108
108
  better_notion/plugins/state.py,sha256=jH_tZWvC35hqLO4qwl2Kwq9ziWVavwCEUcCqy3s5wMY,3780
109
- better_notion/plugins/official/__init__.py,sha256=4c0kaPLOqUQ7vIISgCm4Y9TG306Vew5A8dfDrLsAGwc,327
110
- better_notion/plugins/official/agents.py,sha256=XT8dRaaSs5PSciuA4ne6belQflneS72_L1-GLgDccw0,19308
109
+ better_notion/plugins/official/__init__.py,sha256=rPg5vdk1cEANVstMPzxcWmImtsOpdSR40JSml7h1uUk,426
110
+ better_notion/plugins/official/agents.py,sha256=Co-P4unrxNkbm_wYcUHor6WC_neoyHKSkeFyPbEAyVw,19488
111
111
  better_notion/plugins/official/agents_cli.py,sha256=rFF3cIXXzxOnvd5dnaR1CESvs1mwmR1hBv1lVADcIu8,56317
112
112
  better_notion/plugins/official/productivity.py,sha256=_-whP4pYA4HufE1aUFbIdhrjU-O9njI7xUO_Id2M1J8,8726
113
113
  better_notion/plugins/official/agents_sdk/__init__.py,sha256=luQBzZLsJ7fC5U0jFu8dfzMviiXj2SBZXcTohM53wkQ,725
@@ -125,8 +125,8 @@ better_notion/utils/agents/rbac.py,sha256=8ZA8Y7wbOiVZDbpjpH7iC35SZrZ0jl4fcJ3xWC
125
125
  better_notion/utils/agents/schemas.py,sha256=e_lpGGO12FXtfqFyI91edj9xc5RUtuA6pU7Sk6ip7xg,21784
126
126
  better_notion/utils/agents/state_machine.py,sha256=xUBEeDTbU1Xq-rsRo2sbr6AUYpYrV9DTHOtZT2cWES8,6699
127
127
  better_notion/utils/agents/workspace.py,sha256=T8mP_DNIWhI1-k6UydJINsEJ6kQxQ6_Pa44ul58k088,12370
128
- better_notion-1.1.0.dist-info/METADATA,sha256=0DMYo11viAhTUxNMaap6BklxMC0WnkKxxSM8ASsIicE,11096
129
- better_notion-1.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
130
- better_notion-1.1.0.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
131
- better_notion-1.1.0.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
132
- better_notion-1.1.0.dist-info/RECORD,,
128
+ better_notion-1.3.0.dist-info/METADATA,sha256=MP9kADRDZFuIjs6PQ4EHuTK8HfNNMYehK8MC9JckJKg,11096
129
+ better_notion-1.3.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
130
+ better_notion-1.3.0.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
131
+ better_notion-1.3.0.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
132
+ better_notion-1.3.0.dist-info/RECORD,,